Step 5: Revoking a 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,

ParameterDescription
refresh_tokenRefresh Token which is to be revoked.

 

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"
}