Revokes an access token or refresh token.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/{instanceId}/{applicationId}/oauth2/revoke HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | idaas_ue2jvisn35ea5lmthk267xxxxx |
applicationId | string | Yes | The application ID. | app_mkv7rgt4d7i4u7zqtzev2mxxxx |
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 | access_token |
Response parameters
Examples
Sample success responses
JSON
format
{
"test": "test",
"test2": 1
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
Change time | Summary of changes | Operation |
---|---|---|
2023-10-24 | The internal configuration of the API is changed, but the call is not affected | View Change Details |