Users represent individual user accounts in Cloud 66. Users can belong to multiple accounts with different roles and permissions.
id
integerThe unique identifier of the user.
email
stringThe email address of the user.
primary_account_id
integerThe ID of the user's primary account.
accounts
arrayAn array of account roles showing all accounts this user has access to.
locked
booleanWhether the user account is locked.
access_profile
objectThe user's access profile including account profile, stack profiles, and ACLs.
uses_tfa
booleanWhether the user has two-factor authentication enabled.
timezone
stringThe user's preferred timezone.
has_valid_phone
booleanWhether the user has a validated phone number.
developer_program
booleanWhether the user is part of the developer program.
github_login
booleanWhether the user logs in using GitHub authentication.
last_login
datetimeThe date and time of the user's last login, in ISO 8601 format.
devices
arrayAn array of devices registered for this user.
created_at
datetimeThe date and time the user account was created, in ISO 8601 format.
updated_at
datetimeThe date and time the user account was last updated, in ISO 8601 format.
cloud_status
stringThe status of the user's cloud provider connections.
Example
{
"id": 12345,
"email": "john@example.com",
"primary_account_id": 67890,
"accounts": [
{
"id": 67890,
"role": "owner",
"name": "Production Team"
},
{
"id": 98765,
"role": "admin",
"name": "Development Team"
}
],
"locked": false,
"access_profile": {
"account_profile": "admin",
"stack_profiles": [
"deployment",
"monitoring"
],
"acls": [
"read",
"write",
"deploy"
]
},
"uses_tfa": true,
"timezone": "America/New_York",
"has_valid_phone": true,
"developer_program": false,
"github_login": true,
"last_login": "2024-02-15T09:30:00Z",
"devices": [
{
"id": "device-123",
"name": "MacBook Pro",
"trusted": true
}
],
"created_at": "2023-06-15T10:30:00Z",
"updated_at": "2024-02-15T09:30:00Z",
"cloud_status": "connected"
}