TEASEDocs
API ReferencePages & Publish

Delete a notification preset

Deletes the preset from the library. Domains that serve it keep their stamped copy of the texts and files; the preset simply stops being assignable. 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}
curl -X DELETE "https://example.com/api/admin/library/notifications/0"
Empty
{  "detail": {    "code": "preset_not_found",    "message": "Preset not found"  }}