Reset the account password. The following conditions must be met, otherwise the operation will fail:

  • The instance status is Running.
  • The instance is not locked.

Request parameters

Name Type Required Description
Action String Yes Required parameter. Value: ResetAccountPassword.
DBInstanceId String Yes Instance ID.
AccountName String Yes Name of an account.
AccountPassword String Yes A new password. It may consist of letters, numbers, or underlines, with a length of 6 to 32 characters.

Return parameters

Name Type Description
<Public Return Parameters> For more information, see Public parameters.

Request example
&<Public Request Parameters>

Response example

XML format


JSON format