RevokeAuthenticationToken

Updated at:

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.

Note

The corresponding scope is urn:cloud:idaas:pam|authentication_token:manage.

Important Currently, this operation supports only JWT authentication tokens.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.