Delete a Cluster

DELETE /api/v2.2/clusters

Use this API to delete a cluster.

Note

The cluster that has the label as ‘default’ cannot be deleted. Hence, there is always at least one cluster in an account.

Required Role

The following roles can make this API call:

  • A user who is part of the system-admin group.

  • A user invoking this API must be part of a group associated with a role that allows deleting a cluster. See Managing Groups and Managing Roles for more information.

Example

Delete a cluster that has 170 as its cluster ID.

curl -X DELETE
-H "X-AUTH-TOKEN:$AUTH_TOKEN"
-H "Content-Type: application/json" -H "Accept: application/json"
https://api.qubole.com/api/v2.2/clusters/170

Note

The above syntax uses https://api.qubole.com as the endpoint. Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.