API Gateway 10.15 | Administering API Gateway | Security Configuration | OAuth, JWT, and OpenID Configuration | Revoking OAuth Tokens
 
Revoking OAuth Tokens
You can revoke the OAuth access token from an application using the given API.
*To revoke OAuth token from an application
1. 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"}