Delete Kubernetes Cluster Template
DELETE /v1/clustertemplates/{clustertemplate_ident}
Delete a cluster template with the specified ID.
info
Source: delete-a-cluster-template
Request
Request Parameters
| Name | In | Type | Description |
|---|---|---|---|
| clustertemplate_ident | path | string | The UUID or name of cluster templates in Magnum. |
Sample Request
Using curl
curl -ks -X DELETE -H 'Content-Type: application/json' -H 'OpenStack-API-Version: container-infra 1.8' -H 'X-Auth-Token: gAAAAA<...>' \
https://api.vietnix.cloud:9513/v1/clustertemplates/389ecf86-46ce-4cdd-b7f3-889b0603b7ed
Using HTTP request
DELETE https://api.vietnix.cloud:9513/v1/clustertemplates/389ecf86-46ce-4cdd-b7f3-889b0603b7ed
Content-Type: application/json
OpenStack-API-Version: container-infra 1.8
X-Auth-Token: gAAAAA<...>
Response
Status Code
Success
| Status Code | Description |
|---|---|
| 204 - No Content | The server has fulfilled the request. |
Error
| Status Code | Description |
|---|---|
| 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. |