Modifies the description of a database account for a PolarDB cluster.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | No | ModifyAccountDescription |
The operation that you want to perform. Set the value to ModifyAccountDescription. |
| AccountDescription | String | Yes | test |
The description of the account. The description must meet the following requirements:
|
| AccountName | String | Yes | testacc |
The name of the account. |
| DBClusterId | String | Yes | pc-************* |
The ID of the cluster. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 2FED790E-FB61-4721-8C1C-07C627****** |
The ID of the request. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/? Action=ModifyAccountDescription
&AccountDescription=test
&AccountName=testacc
&DBClusterId=pc-*************
&<Common request parameters>
Sample success responses
XML format
<ModifyAccountDescriptionResponse>
<RequestId>2FED790E-FB61-4721-8C1C-07C627******</RequestId>
</ModifyAccountDescriptionResponse>
JSON format
{
"RequestId": "2FED790E-FB61-4721-8C1C-07C627******"
}
Error codes
For a list of error codes, visit the API Error Center.