Revoking OAuth Tokens
About this task
You can revoke the OAuth access token from an application using the given API.
To revoke OAuth token from an application
Procedure
Make a REST call to the following endpoint with the
corresponding client Id and secret of the application in Basic authentication
header:
POST hostname:port/invoke/pub.oauth/revokeToken
Sample request
POST http(s)://hostname:port/invoke/pub.oauth/revokeToken
{ "token":"3d77988d5020493c8edde78b12c347e2046ac8438a91405597e669ed714ba96a", "token_type_hint":"accessToken"}