TEASEDocs
API ReferenceVault

Cancel a content request

Cancels an open content request. Returns 409 if the request is not open. 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

request_id*integer

Request id.

Response Body

application/json

application/json

application/json

POST
/api/admin/requests/{request_id}/cancel
curl -X POST "https://example.com/api/admin/requests/0/cancel"
{  "ok": true}
{  "detail": "Not authenticated"}
{  "detail": "request is not open"}