UpdateUserRequest
¶
Source code in docs_src/capo_workmail/types/update_user_request.py
|
department
instance-attribute
¶
department: NotRequired[UserAttribute]
Updates the user's department.
display_name
instance-attribute
¶
display_name: NotRequired[UserAttribute]
Updates the display name of the user.
first_name
instance-attribute
¶
first_name: NotRequired[UserAttribute]
Updates the user's first name.
hidden_from_global_address_list
instance-attribute
¶
hidden_from_global_address_list: NotRequired[BooleanObject]
If enabled, the user is hidden from the global address list.
identity_provider_user_id
instance-attribute
¶
identity_provider_user_id: NotRequired[IdentityProviderUserIdForUpdate]
User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.
organization_id
instance-attribute
¶
organization_id: OrganizationId
The identifier for the organization under which the user exists.
role
instance-attribute
¶
role: NotRequired[UserRole]
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
telephone
instance-attribute
¶
telephone: NotRequired[UserAttribute]
Updates the user's contact details.
user_id
instance-attribute
¶
user_id: EntityIdentifier
The identifier for the user to be updated.
The identifier can be the UserId, Username, or email. The following identity formats are available:
-
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: [email protected]
-
User name: user