curl https://api.thanxsandbox.com/oauth/revoke \
-X POST \
-H "Content-Type: application/json" \
-d '{
"client_id": "${client_id}",
"client_secret": "${client_secret}",
"token": "${token}"
}'
{}
SSO
Revoke Access Token
Use this endpoint to revoke a user’s access token.
POST
/
oauth
/
revoke
curl https://api.thanxsandbox.com/oauth/revoke \
-X POST \
-H "Content-Type: application/json" \
-d '{
"client_id": "${client_id}",
"client_secret": "${client_secret}",
"token": "${token}"
}'
{}
Parameters
string
required
OAuth Client ID
string
required
OAuth Client Secret
string
required
OAuth Access Token
curl https://api.thanxsandbox.com/oauth/revoke \
-X POST \
-H "Content-Type: application/json" \
-d '{
"client_id": "${client_id}",
"client_secret": "${client_secret}",
"token": "${token}"
}'
{}