All Products
Search
Document Center

Batch Compute:DeleteCluster

Last Updated:Apr 12, 2018

Description

Deletes a cluster by cluster ID.

Request syntax

  1. DELETE /clusters/{Id}

Attribute description

Attribute Type Required Description
Id String Yes Cluster ID.

Response

Success

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.