Deletes a Global Database Network (GDN).

Note You are allowed to delete a GDN that includes only one primary 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 DeleteGlobalDatabaseNetwork

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

RegionId String No cn-hangzhou

The region ID of the cluster.

GDNId String Yes gdn-bp1fttxsrmv*****

The ID of the GDN.

Response parameters

Parameter Type Example Description
RequestId String C61892A4-0850-4516-9E26-44D96C1782DE

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

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

<DeleteGlobalDatabaseNetworkResponse>
    <RequestId>C61892A4-0850-4516-9E26-44D96C1782DE</RequestId>
</DeleteGlobalDatabaseNetworkResponse>

JSON format

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

{
  "RequestId" : "C61892A4-0850-4516-9E26-44D96C1782DE"
}

Error codes

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