All Products
Document Center

Batch Compute:DeleteCluster

Last Updated:May 14, 2018


Deletes a cluster by cluster ID.

Request syntax

  1. DELETE /clusters/{Id}

Attribute description

Attribute Type Required Description
Id String Yes Cluster ID.



The 204 status code is returned.

Error codes

Error code Error message Status code Meaning
InvalidResource.NotFound Specified resource is not found. 404 The user requested resource does not exist.
StateConflict User operation is invalid. The current resource state is {state}. 409 The current resource is in Deleting state. The operation is invalid.