Delete Brand
Changed onDeletes a brand. Anything the brand was applied to falls back to the account-level default brand, unless sync_to_customizations is set, in which case the brand's values are written into each item's own customizations first so they keep their current look.
The account-level default brand (is_default: true) can't be deleted.
Requires api token with one of the following permissions
All data
Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.
An expiring access token created with the all:delegate_to_contact_permissions scope and an authorization granting the destroy permission on this brand can also be used.
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/brands/{brandId}
- AuthHTTP bearer
Path parameters
The id of the brand
Query parameters
When true, the brand's values are baked into the customizations of everything it was applied to before it is deleted, so those items keep their current appearance. Defaults to false.
Headers
Response
Brand deleted successfully
Example response
{
"id": "abcde12345",
"name": "My Brand",
"is_default": true,
"created": "2010-08-13T18:47:39+00:00",
"updated": "2010-08-19T21:47:00+00:00",
"primary_color": "#2949E5",
"page_background_color": "#2949E5",
"body_font_family": "Inter",
"headline_font_family": "GT Walsheim",
"button_font_family": "Inter",
"border_radius": 10
}Changes
- info
endpoint added
- info