You can call DeleteCluster to delete the cluster of a specified ID and release all nodes in the cluster.
Debugging
Request parameter types
This operation uses only common request parameters. For more information, see Common parameters.
Request syntax
delete /clusters/{ClusterId} http|https
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ClusterId | String | Yes | Cccfd68c474454665ace07efce924**** |
The ID of the cluster. |
retain_resources | Array of String | No | sg-2ze6ess9kho6fdn9**** |
The name of the resource. |
Examples
Sample requests
DELETE /clusters/[ClusterId] HTTP/1.1
Common request parameters
{
"ClusterId":"Cccfd68c474454665ace07efce924****"
}
Error codes
For a list of error codes, visit the API Error Center.