Get subaccount
GET/account/:accountId
Gets information about the given subaccount.
Request
Path Parameters
accountId stringrequired
The ID of the cloud account.
Example: account-100001
Header Parameters
x-maxone-role-id string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
code int32
The response code.
data
object
The cloud account information.
createTimestamp int64
The creation timestamp of the account.
domain string
The domain name assigned to the main account.
email string
The email used by the cloud account.
id string
The ID of the cloud account.
isRoot boolean
Whether the cloud account is a main account.
roleId string
The ID of the role to which the cloud account is assigned.
rootAccountId string
The ID of the main account.
status string
Possible values: [INACTIVE
, ACTIVATED
, DISABLED
]
The cloud account status.
msg string
The response message.
{
"code": 0,
"data": {
"createTimestamp": 1685510869834,
"domain": "string",
"email": "[email protected]",
"id": "account-100001",
"isRoot": true,
"roleId": "role-100001",
"rootAccountId": "rootAccount-100002",
"status": "INACTIVE"
},
"msg": "string"
}
Loading...