Modifies the description of an account of an ApsaraDB for Redis instance.
Note The engine version of the ApsaraDB for Redis instance must be Redis 4.0 and later.
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.
|
InstanceId | String | Yes | r-bp1zxszhcgatnx**** |
The ID of the instance. |
RegionId | String | No | cn-hangzhou |
The ID of the region where the instance is deployed. |
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.