Retrieve account information
GET/v2/whoami
Returns the account name as a string and the account ID as an integer. Good for testing or for confirming that you’re using an API token from the right account. Please ensure to change the region in the URL to match your account's region.
Request
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
accountName string
Name of the account
accountId int32
ID of the account
{
"accountName": "Jean Valjean",
"accountId": 24601
}
Loading...