Validates an authentication token.
Operation description
Try it now
Test
RAM authorization
Request syntax
POST /v2/{instanceId}/authenticationTokens/_/actions/validate 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 |
| body |
object |
No |
The request body. |
|
| token |
string |
Yes |
The original authentication token. Note
Pass either the original authentication token or a derived short token. |
eyJhbGciOixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| token_type_hint |
string |
No |
A hint about the type of the authentication token. Important No value is currently required for this parameter. |
- |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The validation result. |
||
| active |
boolean |
Indicates whether the authentication token is valid. |
true |
Examples
Success response
JSON format
{
"active": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.