cURL
curl --request DELETE \ --url https://api.example.com/v1/auth/oauth/revoke \ --header 'Authorization: <authorization>' \ --header 'x-client-key: <x-client-key>'
Permanently revoke OAuth authorization and invalidate all tokens
Bearer ACCESS_TOKEN
{ "success": true }
curl -X DELETE "https://dev.api.baanx.com/v1/auth/oauth/revoke" \ -H "x-client-key: your-client-key" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Was this page helpful?