WorkMail.Client.
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.DirectoryServiceAuthenticationFailedException
WorkMail.Client.exceptions.DirectoryUnavailableException
WorkMail.Client.exceptions.EntityNotFoundException
WorkMail.Client.exceptions.EntityStateException
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.InvalidPasswordException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.UnsupportedOperationException