Whitelabel
Delete Branding Asset
Removes an uploaded logo or favicon. Requires admin role; works with API tokens.
DELETE /api/organization/whitelabel/branding/{kind}
kind is one of logo, logoLight, logoDark, favicon, faviconLight, faviconDark, the same values as for the upload. logo and logoLight both remove the light logo, favicon and faviconLight the light favicon. The stored file is deleted once no other branding slot refers to it. Without a logo or favicon the app shows the default one again.
Example (cURL)
curl -X DELETE "$BASE_URL/api/organization/whitelabel/branding/logoDark" \
-H "Authorization: Bearer $API_TOKEN"Response
204 No Content without a body. Read the new state with GET /api/organization/whitelabel/branding.
Common errors
400 invalidBrandingAssetKindwhenkindis not one of the six values403 Forbiddenwhen not an admin404 brandingAssetNotFoundwhen nothing is uploaded for this kind (also on a second DELETE)