Modifies the password of a specified account in an ApsaraDB Tair (Redis® OSS-Compatible) database instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyAccountPassword |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
r-bp1zxszhcgatnx**** |
| AccountName |
string |
Yes |
The name of the account whose password you want to modify. You can call the DescribeAccounts operation to obtain the account name. |
testaccount |
| OldAccountPassword |
string |
Yes |
The original password of the account. Note
If you forget the account password, you can also call the ResetAccountPassword operation to reset the password. |
oldPassWd999**** |
| NewAccountPassword |
string |
Yes |
The new password of the account. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include |
newPassWd888**** |
| SourceBiz |
string |
No |
This parameter is for internal maintenance only and does not need to be specified. |
SDK |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5D622714-AEDD-4609-9167-F5DDD3D1**** |
Examples
Success response
JSON format
{
"RequestId": "5D622714-AEDD-4609-9167-F5DDD3D1****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.