TEASEDocs
API ReferencePages & Publish

Remove a preset avatar

Removes the preset's master avatar. Domains bound to the preset lose it too and their banners are disabled (a banner cannot render without an avatar). Enabled follows the preset's readiness, so re-uploading an avatar switches the bound domains back on automatically. Requires a write-scoped key.

Authorization

bearerAuth
AuthorizationBearer <token>

Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.

In: header

Path Parameters

preset_id*integer

Notification preset id.

Response Body

application/json

DELETE
/api/admin/library/notifications/{preset_id}/avatar
curl -X DELETE "https://example.com/api/admin/library/notifications/0/avatar"
Empty
{  "detail": {    "code": "preset_not_found",    "message": "Preset not found"  }}