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_urlthe base URL of your Zoho account
For example, it's accounts.zoho.com if your account belongs to Zoho's US DC.
tokenthe 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

Copiedcurl "https://accounts.zoho.com/oauth/v2/token/revoke?token=1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
-X POST

If the given token is invalid, the revoke token request will fail and you'll receive the HTTP status code 400.

Sample Response

Copied{
  "status": "success"
}