Changes the description of a database account for an ApsaraDB for ClickHouse cluster.

Request parameters

Parameter Type Required Example Description
Action String No ModifyAccountDescription

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

DBClusterId String Yes cc-bp108z124a8o7****

The ID of the cluster.

AccountName String Yes test

The name of the database account.

AccountDescription String Yes ceshi

The new description of the database account.

Note
  • The description cannot start with http:// or https://.
  • The description can be up to 256 characters in length or an empty string.

Response parameters

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

The ID of the request.

Examples

Sample requests

http(s)://clickhouse.aliyuncs.com/?Action=ModifyAccountDescription
&DBClusterId=cc-bp108z124a8o7****
&AccountName=test
&AccountDescription=ceshi
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

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

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

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

Error codes

HttpCode Error code Error message Description
404 InvalidDBCluster.NotFound The DBClusterId provided does not exist in our records. The error message returned because the specified cluster ID does not exist. Check whether the cluster ID is valid.

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