User details.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name |
str | ✔️ | The user's name. | John |
email |
str | ✔️ | A unique email address, which serves as the login name and notification address. | john@example.com |
role |
Optional[models.CreateUserRole] | ➖ | The role to assign. | technical_admin |
sub_account_ids |
List[str] | ➖ | A list of product environment IDs that this user can access. Ignored if the role is master_admin.Default: all product environments. |
|
enabled |
Optional[bool] | ➖ | Whether the user is enabled. Default: true. |
true |