TEASEDocs
API ReferenceLandings

Delete a button

Delete a draft button and re-pack the remaining buttons' positions in the segment. 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

domain*string

The domain hostname.

tier*string

The segment id.

button_id*string

The button id.

Response Body

application/json

application/json

DELETE
/api/admin/buttons/{domain}/{tier}/{button_id}
curl -X DELETE "https://example.com/api/admin/buttons/string/string/string"
Empty
{  "detail": "auth required"}
{  "detail": {    "code": "button_not_found",    "message": "Кнопка не найдена"  }}