Queries the identity of the current requester.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|
The current API does not require request parameters
Response parameters
Examples
Sample success responses
JSON
format
{
"IdentityType": "RAMUser",
"AccountId": "196813200012****",
"RequestId": "3C87BF47-3724-5443-ADC1-5AEAD9A03EB1",
"PrincipalId": "28877424437521****",
"UserId": "216959339000****",
"Arn": "acs:ram::196813200012****:user/admin",
"RoleId": "33537620082992****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
500 | InternalError | STS Server Internal Error happened, please send the RequestId to us. |
500 | InternalError | STS Server Internal Error happened, please send the RequestId to us. |
For a list of error codes, visit the Service error codes.