DELETE
/api/admin/branding/{asset}AdminRemove a custom branding asset
Deletes the uploaded image of one branding asset slot so the deployment's default is served again.
operationId
delete_api_admin_branding_assetAdministrationAuthentication & permissionsAdmin
Platform administrators only
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Platform administrators only
Path parameters
| Name | Type | Description |
|---|---|---|
| asset* | "favicon" | "icon" | "opengraph-image" | Branding asset slot |
Responses
application/json
| Property | Type | Description |
|---|---|---|
| success* | true | |
| data* | object | |
| key* | string |
JSONExample
"success"true
"data"
"key""string"
Example request
bashcurl
curl -X DELETE 'https://auth.schemavaults.com/api/admin/branding/<asset>' \
-b 'refresh_token_<auth_server_app_id>=<value>'