AccountBrands: updateLogo

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).

Request

HTTP request

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

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

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

brandIdstring

The id of the brand.

logoTypestring

The type of logo. Valid values are:

  • primary
  • secondary
  • email

Request Body

logoFileBytes

Responses

CodeDescriptionReference
200

Successful response.

400

Error encountered.

errorDetails

SDK Method

Accounts::updateBrandLogoByType

Definitions

errorDetails

This object describes errors that occur. It is only valid for responses and ignored in requests.

errorCodestring

The code associated with the error condition.

messagestring

A brief message describing the error condition.

}} />