You can call this operation to delete a 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 header

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

Request syntax

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

Request Parameters

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

Cluster ID

Response parameters

Parameter Type Example Description
Code Integer 200

The status code.

Message String success

Additional message

Data Boolean true

The result.

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

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<Data>true</Data>
<Message>success</Message>
<Code>200</Code>

JSON format

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

Error code

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