question

Viresh P avatar image
Viresh P asked ·

Revoking token feature

While calling access token API call successfully getting the access token which is valid for a while for all the RC Apis. But since we get the token, how can we revoke the access token or refresh token if it is compromised.Does RC allows revoking an already generated token like other south servers?

oauth2token
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Anirban avatar image
Anirban answered ·

Any oauth server will have revoking token feature if it generate tokens.

For RingCentral you need to call revoke token endpoint:

/restapi/oauth/revoke
Authorization: Basic M2ZmYjNlMThkZDU4ZDE1YTk2NTIwYmFmNzUzZjBiNzk6MzI5OWQ0NTg5NGU1Njg5ODllOTY1ZTFiMTk5MGU2OTI 
token=<Your token to revoke>


refer the docs here: https://developers.ringcentral.com/api-reference/Revoke-Token

1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Work together.
From anywhere.

Team messaging, video meetings
and phone - all in one app.


Get the new RingCentral app