You can call this operation to reset the password of a privileged database account.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to ResetAccountPassword.
DBClusterId String Yes The ID of the cluster.
AccountName String Yes The name of the account.
AccountPassword String Yes
The new password for the account.
Note
  • The password must be 8 to 32 characters in length.
  • The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
  • Special characters include ! @ # $ & % ^ * () _ + - =

Response parameters

Parameter Type Description
RequestId String The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ResetAccountPassword
&AccountName=testacc
&AccountPassword=Pw123456
&DBClusterId=cc-xxxxxxxxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<ResetAccountResponse>  
    <RequestId>2FED790E-FB61-4721-8C1C-07C627FA5A19</RequestId>
</ResetAccountResponse>

JSON format

{
    "RequestId":"2FED790E-FB61-4721-8C1C-07C627FA5A19"
}