User details.
| Field | Type | Required | Description |
|---|---|---|---|
id |
Optional[str] | ➖ | The user's ID. |
name |
Optional[str] | ➖ | The user's name. |
first_name |
Optional[str] | ➖ | The user's first name. |
last_name |
Optional[str] | ➖ | The user's last name. |
role |
Optional[str] | ➖ | The user's role. |
email |
Optional[str] | ➖ | The user's email. |
pending |
Optional[bool] | ➖ | Whether the user is pending. |
enabled |
Optional[bool] | ➖ | Whether the user is enabled. |
created_at |
date | ➖ | The date when the user was created. |
updated_at |
date | ➖ | The date when the user was last updated. |
last_login |
date | ➖ | The date when the user was last logged in. |
all_sub_accounts |
Optional[bool] | ➖ | N/A |
providers |
List[str] | ➖ | The list of authentication providers for the user. |
email_preferences |
Optional[models.EmailPreferences] | ➖ | The user's email preferences. |
account_id |
Optional[str] | ➖ | The account ID. |
two_factor |
Optional[bool] | ➖ | Whether two-factor authentication is enabled. |
status |
Optional[str] | ➖ | The user's status. |
root |
Optional[bool] | ➖ | Whether the user is a root user. |
technical_role |
Optional[str] | ➖ | The user's technical role. |
group_count |
Optional[int] | ➖ | The number of groups the user belongs to. |
sub_account_count |
Optional[int] | ➖ | The number of sub-accounts the user has access to. |