Skip to main content
POST
/
tyk
/
oauth
/
revoke
revoke token
curl --request POST \
  --url https://{tenant}/tyk/oauth/revoke \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'X-Tyk-Authorization: <api-key>' \
  --data client_id=2a06b398c17f46908de3dffcb71ef87df \
  --data org_id=6492f66e6ebbc56c6a6bf022 \
  --data token=eyJvcmciOiI1ZTIwOTFjNGQ0YWVmY2U2MGMwNGZiOTIiLCJpZCI6IjIyODQ1NmFjNmJlMjRiMzI5MTIyOTdlODQ5NTc4NjJhIiwiaCI6Im11cm11cjY0In0= \
  --data token_type_hint=access_token
{
  "message": "token revoked successfully",
  "status": "ok"
}

Authorizations

X-Tyk-Authorization
string
header
required

Body

application/x-www-form-urlencoded
client_id
string
required
Example:
token
string
required
Example:
org_id
string
Example:
token_type_hint
string
Example:

Response

message
string
status
string