Get a list of all accounts derived from the accountId
GET/v1/associated-accounts
Returns a list of all accounts derived from the accountId for which the API-TOKEN (specified in the X-API-TOKEN header) was issued. If the API-TOKEN is issued for an owner account, it will return all sub-accounts (including security, tracing) and the owner account. If it’s not an owner account, it will return only one associated 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
- Array [
- ]
accountId int32
accountName string
type string
Possible values: [OWNER_ACCOUNT
, SUB_ACCOUNT
, TIMELESS_INDEX
, METRICS_ACCOUNT
, RESTORE_ACCOUNT
, SECURITY_ACCOUNT
, TRACING_ACCOUNT
]
[
{
"accountId": 0,
"accountName": "string",
"type": "OWNER_ACCOUNT"
}
]
Loading...