See api-docs Menu

Delete Account Brand

Early Preview

This API is in early preview and may be subject to change. Please contact your account manager if you are interested in trying the Branding API.

Use this API to delete an Account Brand.

Be careful, this operation is final and can not be undone.




Resource URL

https://<api-domain>/api/2/branding/brands/:brand_id

Header Parameters

Authorization

required

string

Set to bearer <access_token>.

Set <access_token> to the access token you generated using the Generate Token API.

The access token must have been generated using an API credential pair created using the scope required to call this API. This API can be called using any one of the following scopes: Manage All.

In order to use the Branding API your API Credentials must be created after 21st October 2020.

Content-Type

required

string

Set to application/json.

Resource Parameter

brand_id

required

number

Unique identifier for the branding object.

Sample Responses

Success. The account brand has been deleted. No content is returned.

Deletion fails if there are remaining apps associated with a brand.

{
    "message": "Account brand must not have any associated apps",
    "name": "BadRequestError",
    "statusCode": 400
}
{
    "message": "The resource with the given id could not be found",
    "statusCode": 404,
    "name": "NotFoundError"
}

Postman Collection

Replace sample variables indicated by {{ }} with your actual values.

Download for the Branding API

Sample Code

cURL

Replace sample values indicated by < > with your actual values.

Delete Account Brand

curl 'https://<api-domain>/api/2/branding/brands/:brand_id' \
-X DELETE \
-H "Authorization: bearer <access_token>"
-H "Content-Type: application/json" \

Have a Question?

Have a how-to question? Seeing a weird error? Ask us about it on StackOverflow.

Found a bug? Submit a support ticket.

Have a product idea or request? Share it with us in our Ideas Portal.