Reset the instance password

Last Updated: Dec 06, 2017


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

    2. &AccountName=testacc02
    3. &AccountPassword=newpw1234
    4. &DBInstanceId=riauvjz6zajfiq6ba1370329449201
    5. &<Public Request Parameters>
  • Return example

    XML format:

    1. <ResetAccountPasswordResponse>
    2. <RequestId>D4D4BE8A-DD46-440A-BFCD-EE31DA81C9DD</RequestId>
    3. </ResetAccountPasswordResponse>

    JSON format:

    1. {
    2. "RequestId":"D4D4BE8A-DD46-440A-BFCD-EE31DA81C9DD"
    3. }
Thank you! We've received your feedback.