You can call this operation to modify the description of a database account for a specified ApsaraDB for POLARDB cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
AccountDescription String Yes AccDesc

Specifies the description of the account. The name must meet the following requirements:

  • The description must start with a letter.
  • The description can contain letters, digits, underscores (_), and hyphens (-).
  • The description cannot start with http:// or https://.
  • The description must be 2 to 256 characters in length.
AccountName String Yes testacc

The name of the account.

DBClusterId String Yes pc-xxxxxxxxxxxxxxxx

The ID of the cluster.

AccessKeyId String No key-test

The AccessKey ID provided to you by Alibaba Cloud.

Action String No ModifyAccountDescription

The operation that you want to perform. Set the value to ModifyAccountDescription.

Response parameters

Parameter Type Example Description
RequestId String 2FED790E-FB61-4721-8C1C-07C627FA5A19

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ModifyAccountDescription
&AccountDescription=AccDesc
&AccountName=testacc
&DBClusterId=pc-xxxxxxxxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<ModifyAccountDescriptionResponse>  
       <RequestId>2FED790E-FB61-4721-8C1C-07C627FA5A19</RequestId>
</ModifyAccountDescriptionResponse>

JSON format

{
	"RequestId":"2FED790E-FB61-4721-8C1C-07C627FA5A19"
}

Error codes

For a list of error codes, visit the API Error Center.