You can call this operation to delete a data center from a cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteDataCenter |
The operation that you want to perform. Set the value to DeleteDataCenter. |
ClusterId | String | Yes | cds-bp11tjzh50****7d |
The ID of the cluster. |
DataCenterId | String | Yes | cn-hangzhou-g |
The ID of the data center in the cluster. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 200FB963-9359-4CAD-90B7-96395C88FD9D |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DeleteDataCenter
&ClusterId=cds-bp11tjzh50****7d
&DataCenterId=cn-hangzhou-g
&<Common request parameters>
Sample success responses
XML
format
<DeleteDataCenterResponse>
<RequestId>200FB963-9359-4CAD-90B7-96395C88FD9D</RequestId>
</DeleteDataCenterResponse>
JSON
format
{
"RequestId": "200FB963-9359-4CAD-90B7-96395C88FD9D"
}
Error codes
For a list of error codes, visit the API Error Center.