Modifies the description of an account for an ApsaraDB for Redis instance.
Note Only ApsaraDB for Redis instances of Redis 4.0 or later are supported.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyAccountDescription |
The operation that you want to perform. Set the value to ModifyAccountDescription. |
AccountDescription | String | Yes | testescription |
The description of the account.
|
AccountName | String | Yes | demoaccount |
The name of the account. You can call the DescribeAccounts operation to obtain the name of the account. |
InstanceId | String | Yes | r-bp1zxszhcgatnx**** |
The ID of the instance. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 8D0C0AFC-E9CD-47A4-8395-5C31BF9B**** |
The ID of the request. |
Examples
Sample requests
https://r-kvstore.aliyuncs.com/?Action=ModifyAccountDescription
&AccountDescription=testescription
&AccountName=demoaccount
&InstanceId=r-bp1zxszhcgatnx****
&<Common request parameters>
Sample success responses
XML
format
<ModifyAccountDescriptionResponse>
<RequestId>8D0C0AFC-E9CD-47A4-8395-5C31BF9B****</RequestId>
</ModifyAccountDescriptionResponse>
JSON
format
{
"RequestId":"8D0C0AFC-E9CD-47A4-8395-5C31BF9B****"
}
Error codes
For a list of error codes, visit the API Error Center.