WorkMail / Client / reset_password

reset_password#

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'
)
Parameters:
  • OrganizationId (string) –

    [REQUIRED]

    The identifier of the organization that contains the user for which the password is reset.

  • UserId (string) –

    [REQUIRED]

    The identifier of the user for whom the password is reset.

  • Password (string) –

    [REQUIRED]

    The new password for the user.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions