ReinstateAuthenticationToken
Recovers an authentication token.
Operation description
This API performs authentication and authorization based on an access token issued by IDaaS.
Ensure that the access token you pass has the required permissions to manage authentication tokens in the built-in Privileged Access Management (PAM) application of 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/reinstate 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 original text of the authentication token. Note
You can pass either the original text of the authentication token or a derived short token of the authentication token. |
eyJhbGciOixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| token_type_hint |
string |
No |
The hint for the authentication token type. Important Currently, you do not need to pass a value 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.