Revoking a Refresh token
You may choose to revoke a refresh token when you no longer need access to data for a particular scope. To revoke a refresh token, you must send a revoke token request.
- URI Endpoint: https://accounts.zoho.com/oauth/v2/token/revoke
- HTTP Request Type: POST
- Sample Request:
https://accounts.zoho.com/oauth/v2/token/revoke?token={refresh_token}Note: If you are a JavaScript application client, you can revoke an access token using the same request.
- Sample Response:
{"status": "success"}
If the refresh token is invalid, the revoke token request will not be executed and you will receive an HTTP status code 400.