Deletes an Elastic Compute Service (ECS) cluster or cancels the import of a Container Service for Kubernetes (ACK) cluster.


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 only the common request header. For more information, see Common request parameters.

Request syntax

DELETE /pop/v5/resource/cluster HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
ClusterId String Yes 8b96ade0-0a07-****-af9d-5ed83640d076

The ID of the cluster.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Data Boolean true

Indicates whether the request is successful.

Message String success

The returned message.

RequestId String 856D4438-****-4EA9-****-894628C0434E

The ID of the request.


Sample requests

DELETE /pop/v5/resource/cluster HTTP/1.1
Common request header
  "ClusterId": "8b96ade0-0a07-****af9d-5ed83640d076"

Sample success responses

XML format


JSON format

	"Data": true,
	"Message": "success",
	"Code": 200

Error codes

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