Account Brands

Updates a branding resource file

PUT
/v2.1/accounts/{accountId}/brands/{brandId}/resources/{resourceContentType}

This method updates a branding resource file.

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

Content-Disposition: form-data; name="file"; filename="DocuSign_SigningResource_4328673.xml"

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

Important: Customizing resource files is an advanced branding configuration option which can significantly impact your account, and should be done only by someone with expertise in XML and HTML. The master resource files are subject to change without notice. If you customize your resource files, after each release, Docusign recommends you review any changes and update your custom files as needed.

When you upload a modified resource file, only the elements that differ from the master resource file are saved as your resource file. Similarly, when you download your resource files, only the modified elements are included in the file.

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.

resourceContentType*string

The type of brand resource file that you are updating. Valid values are:

  • sending
  • signing
  • email
  • signing_captive

Request Body

multipart/form-data

file.xml*string

Brand resource XML file.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v2.1/accounts/string/brands/string/resources/string" \  -F file.xml="string"
{  "createdByUserInfo": {    "accountId": "string",    "accountName": "string",    "activationAccessCode": "string",    "email": "string",    "errorDetails": {      "errorCode": "string",      "message": "string"    },    "ipAddress": "string",    "loginStatus": "string",    "membershipId": "string",    "sendActivationEmail": "string",    "uri": "string",    "userId": "string",    "userName": "string",    "userStatus": "string",    "userType": "string"  },  "createdDate": "string",  "dataNotSavedNotInMaster": [    "string"  ],  "modifiedByUserInfo": {    "accountId": "string",    "accountName": "string",    "activationAccessCode": "string",    "email": "string",    "errorDetails": {      "errorCode": "string",      "message": "string"    },    "ipAddress": "string",    "loginStatus": "string",    "membershipId": "string",    "sendActivationEmail": "string",    "uri": "string",    "userId": "string",    "userName": "string",    "userStatus": "string",    "userType": "string"  },  "modifiedDate": "string",  "modifiedTemplates": [    "string"  ],  "resourcesContentType": "string",  "resourcesContentUri": "string"}