RevokeAuthenticationToken
Revokes an authentication token.
Operation description
This API authenticates and authorizes requests based on an access token issued by IDaaS.
Ensure that the access token you provide is authorized to manage authentication tokens for the built-in Privileged Access Management (PAM) application in IDaaS.
The corresponding scope is urn:cloud:idaas:pam|authentication_token:manage.
Try it now
Test
RAM authorization
Request syntax
POST /v2/{instanceId}/authenticationTokens/_/actions/revoke HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
The authentication information. The format is Bearer ${access_token}. Note
Enter the access token issued by IDaaS. |
Bearer xxxxxx |
| body |
object |
No |
The request body. |
|
| token |
string |
Yes |
The plaintext of the authentication token. Note
You can pass either the authentication token plaintext or a derived short token of the authentication token. |
eyJhbGciOixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| token_type_hint |
string |
No |
The hint for the authentication token type. Important Currently, no value is required for this parameter. |
access_token |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.