reset_password(**kwargs)¶Allows the administrator to reset the password for a user.
See also: AWS API Documentation
Request Syntax
response = client.reset_password(
OrganizationId='string',
UserId='string',
Password='string'
)
[REQUIRED]
The identifier of the organization that contains the user for which the password is reset.
[REQUIRED]
The identifier of the user for whom the password is reset.
[REQUIRED]
The new password for the user.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.DirectoryServiceAuthenticationFailedExceptionWorkMail.Client.exceptions.DirectoryUnavailableExceptionWorkMail.Client.exceptions.EntityNotFoundExceptionWorkMail.Client.exceptions.EntityStateExceptionWorkMail.Client.exceptions.InvalidParameterExceptionWorkMail.Client.exceptions.InvalidPasswordExceptionWorkMail.Client.exceptions.OrganizationNotFoundExceptionWorkMail.Client.exceptions.OrganizationStateExceptionWorkMail.Client.exceptions.UnsupportedOperationException