Revoke the Refresh Token
Once you no longer need to access the data for a particular scope, you can revoke that refresh token by raising a revoke token request.
Request URL
https://<base_accounts_url>/oauth/v2/token/revoke?token=<token>
Request Method
POST
where,
base_accounts_url | the base URL of your Zoho account For example, it's accounts.zoho.com if your account belongs to Zoho's US DC. |
token | the refresh token that you want to revoke |
Note
You can also revoke the access token for a JavaScript client application using this request. You just need to pass that token to this request.
Sample Request
Copied
If the given token is invalid, the revoke token request will fail and you'll receive the HTTP status code 400.
Sample Response
Copied