You can call DeleteCluster to delete the cluster of a specified ID and release all nodes in the 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 headers

This operation uses the common request header only. For more information, see Common parameters.

Request syntax

DELETE /clusters/[ClusterId] HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
ClusterId String Yes Cccfd68c474454665ace07efce924****

The ID of the cluster.

Response parameters

Parameter Type Example Description
RequestId String 687C5BAA-D103-4993-884B-C35E4314A1E1

The ID of the request.

Examples

Sample requests

DELETE /clusters/[ClusterId] HTTP/1.1
Common request header
{
"ClusterId": "Cccfd68c474454665ace07efce924****"
}

Sample success responses

XML format

<RequestId>687C5BAA-D103-4993-884B-C35E4314A1E1</RequestId>

JSON format

{"RequestId":"687C5BAA-D103-4993-884B-C35E4314A1E1"}

Error codes

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