Revoking OAuth tokens

You can revoke the OAuth access token from an application by using the API.

Procedure

Make a REST call to the endpoint that uses the application's client ID and secret in the Basic authentication header:

POST hostname:port/invoke/pub.oauth/revokeToken

Sample request




POST http(s)://hostname/invoke/pub.oauth/revokeToken
{ "token":"3d77988d5020493c8edde78b12c347e2046ac8438a91405597e669ed714ba96a",
"token_type_hint":"accessToken"}