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
idintegerUnique account identifier
ownerstring | nullEmail address of the account owner
created_at_isostringAccount creation timestamp in ISO8601 format
updated_at_isostringLast modification timestamp in ISO8601 format
stack_countintegerNumber of stacks associated with this account
used_cloudsarray<string>List of cloud provider names used by this account's stacks
current_accountbooleanTrue if this account matches the user's primary account
friendly_namestringHuman-readable account name set by the user
unmanaged_serversarray | nullList of unmanaged cloud servers (only when include_servers=true and account is primary)
server_registration_scriptstringShell command for registering new servers to this account
configstore_namespacestringUUID 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"
}