Removes secondary clusters from a Global Database Network (GDN).

Note You cannot remove the primary cluster from a GDN.

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 RemoveDBClusterFromGDN

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

RegionId String No cn-qingdao

The region ID of the cluster.

DBClusterId String Yes pc-wz9fb5nn44u1d****

The ID of the cluster in the GDN.

GDNId String Yes gdn-bp1fttxsrmv*****

The ID of the GDN.

Response parameters

Parameter Type Example Description
RequestId String 67F2E75F-AE67-4FB2-821F-A81237EACD15

The ID of the request.

Examples

Sample requests

http(s)://polardb.aliyuncs.com/?Action=RemoveDBClusterFromGDN
&DBClusterId=pc-wz9fb5nn44u1d****
&GDNId=gdn-bp1fttxsrmv*****
&<Common request parameters>

Sample success responses

XML format

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

<RemoveDBClusterFromGDNResponse>
    <RequestId>67F2E75F-AE67-4FB2-821F-A81237EACD15</RequestId>
</RemoveDBClusterFromGDNResponse>

JSON format

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

{
  "RequestId" : "67F2E75F-AE67-4FB2-821F-A81237EACD15"
}

Error codes

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