SSO
Revoke Access Token
POST

/oauth/revoke

client_id*
client_secret*
token*
curl --request POST \
  --url https://api.thanx.com/oauth/revoke \
  --header 'Authorization: Bearer <token>' \
  --data '{
  "client_id": "<client_id>",
  "client_secret": "<client_secret>",
  "token": "<token>"
}'

‚Äč
Parameters

client_idrequired
string

OAuth Client ID

client_secretrequired
string

OAuth Client Secret

tokenrequired
string

OAuth Access Token

curl https://api.thanxsandbox.com/oauth/revoke \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": "f4bf04a6fc27b5fa926a7318933b76440642c25cde037d8e867b3d18d771ad86",
    "client_secret": "83c08861ce6302e0e73d28cea30aa3f8f3ea98446e133fde60a86231f50f5c82",
    "token": "945148251b603ae34561d90acfe4050e67494d6d1e65d4d3d52798407f03c0bd"
  }'
{}