TEASEDocs
API ReferenceSmart Links

Retire a smart link

Soft-retires a smart link (sets it inactive) while preserving its stats and conversion history. Returns no content. 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

provider_id*string

The smart link's provider_id.

Response Body

application/json

application/json

application/json

DELETE
/api/admin/smart-links/{provider_id}
curl -X DELETE "https://example.com/api/admin/smart-links/string"
Empty
{  "detail": {    "code": "unauthorized",    "message": "Invalid or missing API key"  }}
{  "detail": {    "code": "engine_not_connected",    "message": "Connect your engine to access this data."  }}
{  "detail": {    "code": "smart_link_not_found",    "message": "Smart link 'lnk_unknown' not found"  }}