question

Viresh P avatar image
Viresh P asked Anirban edited

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?

authentication
1 |3000

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

1 Answer

Anirban avatar image
Anirban answered Anirban edited

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 |3000

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

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys