Modifies the name of a 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
Action String No ModifyDBClusterDescription

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

DBClusterDescription String Yes ClusterDescriptionTest

The name of the cluster. The name must meet the following requirements:

  • The name cannot start with http:// or https://.
  • The name must be 2 to 256 characters in length.
DBClusterId String Yes pc-**************

The ID of the PolarDB cluster.

Response parameters

Parameter Type Example Description
RequestId String D0CEC6AC-7760-409A-A0D5-E6CD86******

The ID of the request.

Examples

Sample requests

http(s)://polardb.aliyuncs.com/? Action=ModifyDBClusterDescription
&DBClusterDescription=ClusterDescriptionTest
&DBClusterId=pc-**************
&<Common request parameters>

Sample success responses

XML format

<ModifyDBClusterDescriptionResponse>
  <RequestId>D0CEC6AC-7760-409A-A0D5-E6CD86******</RequestId>
</ModifyDBClusterDescriptionResponse>

JSON format

{
  "RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}

Error codes

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