15.10. Deleting Kubernetes clusters

DELETE /v1/clusters/{cluster_ident}

Source: https://docs.openstack.org/api-ref/container-infrastructure-management/?expanded=#delete-a-cluster

15.10.1. Request

Name In Type Description
cluster_ident path string The UUID or name of clusters in Magnum. Example

# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'OpenStack-API-Version: container-infra 1.8' -H 'X-Auth-Token: gAAAAA<...>' \

15.10.2. Response Status codes Success

Code Reason
204 - No Content The server has fulfilled the request. Error

Code Reason
401 - Unauthorized User must authenticate before making a request.
403 - Forbidden Policy does not allow current user to do this operation.
404 - Not Found The requested resource could not be found.
409 - Conflict This operation conflicted with another operation on this resource.