SSO
Revoke Access Token
Consumer API
- Overview
- Guides
- Best Practices
- Usage
Reference
- Users
- SSO
- Locations
- Features
- Cards
- Rewards
- Tags
- Communication Settings
- Push Registrations
- Points
- Tiers
- Feedbacks
- Purchases
- Receipts
- Archive
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": "f4bf04a6fc27b5fa926a7318933b76440642c25cde037d8e867b3d18d771ad86",
"client_secret": "83c08861ce6302e0e73d28cea30aa3f8f3ea98446e133fde60a86231f50f5c82",
"token": "945148251b603ae34561d90acfe4050e67494d6d1e65d4d3d52798407f03c0bd"
}'
{}
Parameters
OAuth Client ID
OAuth Client Secret
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"
}'
{}
curl https://api.thanxsandbox.com/oauth/revoke \
-X POST \
-H "Content-Type: application/json" \
-d '{
"client_id": "f4bf04a6fc27b5fa926a7318933b76440642c25cde037d8e867b3d18d771ad86",
"client_secret": "83c08861ce6302e0e73d28cea30aa3f8f3ea98446e133fde60a86231f50f5c82",
"token": "945148251b603ae34561d90acfe4050e67494d6d1e65d4d3d52798407f03c0bd"
}'
{}