Accounts represent organizational units in Cloud 66 that own and manage stacks. Users can belong to multiple accounts and have different roles within each account.
Model
id
integerUnique account identifier
owner
string | nullEmail address of the account owner
created_at_iso
stringAccount creation timestamp in ISO8601 format
updated_at_iso
stringLast modification timestamp in ISO8601 format
stack_count
integerNumber of stacks associated with this account
used_clouds
array<string>List of cloud provider names used by this account's stacks
current_account
booleanTrue if this account matches the user's primary account
friendly_name
stringHuman-readable account name set by the user
unmanaged_servers
array | nullList of unmanaged cloud servers (only when include_servers=true and account is primary)
server_registration_script
stringShell command for registering new servers to this account
configstore_namespace
stringUUID for the account's configuration store namespace
Example
{
"id": 12345,
"owner": "john@example.com",
"created_at_iso": "2023-01-15T10:30:00Z",
"updated_at_iso": "2024-02-20T14:45:00Z",
"stack_count": 8,
"used_clouds": [
"aws",
"digitalocean",
"azure"
],
"current_account": true,
"friendly_name": "Production Environment",
"unmanaged_servers": [
{
"id": 67890,
"name": "web-server-01",
"ip": "192.168.1.100"
}
],
"server_registration_script": "curl -sSL https://app.cloud66.com/registrations/new | sudo bash -s abc123def456",
"configstore_namespace": "550e8400-e29b-41d4-a716-446655440000"
}