Accounts organize spaces for organizations. This endpoint allows retrieval of accounts accessible for a user.
{
"accounts": [{
"id": integer, readonly,
"name": string, required,
"href": string, readonly,
"account_type": integer, (personal: 0, pro: 1, corporate: 2, partner: 3}, readonly
}]
}
GET /accounts
will return all available accounts.
GET /accounts/:id
will return the specified account. See get response.
GET /accounts/current
will return the account associated with the current credentials if you are a member of the account.
Passing include=account_add_ons
will cause the response to include the account add ons for each account.
"account_add_ons": [{
"id": integer, readonly,
"add_on_type": integer, (risk: 0), readonly,
"user_limit": integer, readonly
}]