15.4. Deleting Kubernetes cluster templates

DELETE /v1/clustertemplates/{clustertemplate_ident}

Delete a cluster template.

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

15.4.1. Request

Name In Type Description
clustertemplate_ident path string The UUID or name of cluster templates in Magnum.

15.4.1.1. Example

# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'OpenStack-API-Version: container-infra 1.8' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:9513/v1/clustertemplates/bccf828b-7366-4ed9-954c-7f23b9779cbd

15.4.2. Response

15.4.2.1. Status codes

15.4.2.1.1. Success

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

15.4.2.1.2. 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.