Account Brands

Updates a brand logo

PUT
/v2.1/accounts/{accountId}/brands/{brandId}/logos/{logoType}

This method updates a single brand logo.

You pass in the new version of the resource in the Content-Disposition header. Example:

Content-Disposition: form-data; name="file"; filename="logo.jpg"

Note: Branding for either signing or sending must be enabled for the account (canSelfBrandSend , canSelfBrandSign, or both of these account settings must be true).

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

brandId*string

The ID of the brand.

logoType*string

The type of logo. Valid values are:

  • primary
  • secondary
  • email

Header Parameters

Content-Type*"image/png"

Value in

  • "image/png"

Request Body

multipart/form-data

logoFileBytes*string

Brand logo binary Stream. Supported formats: JPG, GIF, PNG. Maximum file size: 300 KB. Recommended dimensions: 296 x 76 pixels (larger images will be resized). Changes may take up to one hour to display in all places

Response Body

application/json

curl -X PUT "https://example.com/v2.1/accounts/string/brands/string/logos/string" \  -H "Content-Type: image/png" \  -F logoFileBytes="string"
Empty