Chuyển tới nội dung chính

Delete Kubernetes Cluster Template

DELETE /v1/clustertemplates/{clustertemplate_ident}

Delete a cluster template with the specified ID.

Request

Request Parameters

NameInTypeDescription
clustertemplate_identpathstringThe 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 CodeDescription
204 - No ContentThe server has fulfilled the request.

Error

Status CodeDescription
401 - UnauthorizedUser must authenticate before making a request.
403 - ForbiddenPolicy does not allow current user to do this operation.
404 - Not FoundThe requested resource could not be found.
409 - ConflictThis operation conflicted with another operation on this resource.