Skip to main content
POST
/
admin
/
tokens
/
{sampleToken}
/
revoke
Revoke Token (Admin)
curl --request POST \
  --url https://cdn.tailoredd.com/apiV2/admin/tokens/{sampleToken}/revoke \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "manual"
}
'
{
  "success": true,
  "data": {}
}
POST {BASE_URL}/admin/tokens/{token}/revoke

Body parameters

reason
string
manual · abuse · customer_request

Response

{
  "success": true,
  "data": {
    "revoked": true,
    "tokenId": "tok_9f8e7d",
    "reason": "customer_request"
  }
}

Headers

Authorization
string

Path Parameters

sampleToken
string
required

Body

application/json

The body is of type object.

Response

Successful response

success
boolean
required
Example:

true

data
object