You can call this operation to modify the description for a PolarDB for MySQL database.

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

Name Type Required Example Description
Action String No ModifyDBDescription

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

DBClusterId String Yes pc-xxxxxxxxxxxxxxxxxxxx

The ID of the cluster that you want to manage.

DBDescription String Yes DBDesc

The description of the database.

DBName String Yes testDB

The name of the database.

Response parameters

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

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ModifyDBDescription
&DBClusterId=pc-xxxxxxxxxxxxxxxxxxxx
&DBDescription=DBDesc
&DBName=testDB
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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