Revokes an access token or refresh token.
Try it now
Test
RAM authorization
Request syntax
POST /v2/{instanceId}/{applicationId}/oauth2/revoke HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| client_id |
string |
No |
The client ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| client_secret |
string |
No |
The client secret. |
CSEHDcHcrUKHw1CuxkJEHPveWRXBGqVqRsxxxx |
| token |
string |
Yes |
The token to be revoked. |
ATxxxx |
| token_type_hint |
string |
No |
The type of the token. Valid values: access_token refresh_token Valid values:
|
access_token |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
Examples
Success response
JSON format
{
"test": "test",
"test2": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.