Deleting a Cluster

Function

This API is used to delete a cluster after data processing and analysis are completed or the cluster is abnormal. This API is compatible with Sahara.

Clusters in any of the following states cannot be terminated:
  • scaling-out
  • scaling-in
  • starting
  • terminating
  • terminated
  • failed

URI

Request

Request parameters

None.

Response

Response parameters

None.

Example

Status Code

Table 2 describes the status code of this API.

Table 2 Status code

Status Code

Description

204

The cluster has been successfully terminated.

For the description about error status codes, see Status Codes.