You can call this operation to modify the password for an account.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyAccountPassword |
The operation that you want to perform. Set the value to ModifyAccountPassword. |
Account | String | Yes | cassandra_test |
The username. |
ClusterId | String | Yes | cds-bp1l5ys6****wzrx |
The ID of the instance. |
Password | String | Yes | Alibaba@#¥** |
The new password for the account. 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 | Example | Description |
---|---|---|---|
RequestId | String | 50373857-C47B-4B64-9332-D0B5280B59EA |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifyAccountPassword
&Account=cassandra_test
&ClusterId=cds-bp1l5ys6****wzrx
&Password=Alibaba@#¥**
&<Common request parameters>
Sample success responses
XML
format
<ModifyAccountPasswordResponse>
<RequestId>50373857-C47B-4B64-9332-D0B5280B59EA</RequestId>
</ModifyAccountPasswordResponse>
JSON
format
{
"RequestId":"50373857-C47B-4B64-9332-D0B5280B59EA"
}
Error codes
For a list of error codes, visit the API Error Center.