Users represent individual user accounts in Cloud 66. Users can belong to multiple accounts with different roles and permissions.
idintegerThe unique identifier of the user.
emailstringThe email address of the user.
primary_account_idintegerThe ID of the user's primary account.
accountsarrayAn array of account roles showing all accounts this user has access to.
lockedbooleanWhether the user account is locked.
access_profileobjectThe user's access profile including account profile, stack profiles, and ACLs.
uses_tfabooleanWhether the user has two-factor authentication enabled.
timezonestringThe user's preferred timezone.
has_valid_phonebooleanWhether the user has a validated phone number.
developer_programbooleanWhether the user is part of the developer program.
github_loginbooleanWhether the user logs in using GitHub authentication.
last_logindatetimeThe date and time of the user's last login, in ISO 8601 format.
devicesarrayAn array of devices registered for this user.
created_atdatetimeThe date and time the user account was created, in ISO 8601 format.
updated_atdatetimeThe date and time the user account was last updated, in ISO 8601 format.
cloud_statusstringThe 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"
}