Deleting a Cluster
This endpoint deletes the specified Cluster. If the cluster is used by any policies the cluster will not be deleted and a list of dependents will be returned.
DELETE /openapi/v1/clusters/{cluster_id}
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
cluster_id |
string |
Unique identifier for the cluster. |
Response object: None
Sample python code
cluster_id = '5d02d2a4497d4f5194f104ef'
restclient.delete('/clusters/%s' % cluster_id)