ModifyAccountDescriptionZonal
Modifies the description of an account in a PolarDB on ENS cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyAccountDescriptionZonal |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. Note
Note: This operation applies only to PolarDB on ENS. The DBClusterId must be the ID of an edge cluster. Regular PolarDB cluster IDs are not accepted. |
pc-************* |
| AccountName |
string |
Yes |
The name of the account. |
testacc |
| AccountDescription |
string |
Yes |
The description of the account. The description must meet the following requirements:
|
testdes |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must ensure that the token is unique among different requests. The token is case-sensitive and can be up to 64 ASCII characters in length. |
6000170000591aed949d0f5******************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
EB07CFF0-D8A4-5C76-AED7-D00E26FC2*** |
Examples
Success response
JSON format
{
"RequestId": "EB07CFF0-D8A4-5C76-AED7-D00E26FC2***"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountDescription.Malformed | The specified parameter AccountDescription is not valid. | The specified AccountDescription parameter is invalid. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.