Logo

Command Palette

Search for a command to run...

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
idinteger

Unique account identifier

ownerstring | null

Email address of the account owner

created_at_isostring

Account creation timestamp in ISO8601 format

updated_at_isostring

Last modification timestamp in ISO8601 format

stack_countinteger

Number of stacks associated with this account

used_cloudsarray<string>

List of cloud provider names used by this account's stacks

current_accountboolean

True if this account matches the user's primary account

friendly_namestring

Human-readable account name set by the user

unmanaged_serversarray | null

List of unmanaged cloud servers (only when include_servers=true and account is primary)

server_registration_scriptstring

Shell command for registering new servers to this account

configstore_namespacestring

UUID 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"
}