---
title: "DELETE /api/v2/constrainttemplates/{ct_name}"
method: DELETE
path: "/api/v2/constrainttemplates/{ct_name}"
tags: ["constrainttemplates"]
---

# DELETE /api/v2/constrainttemplates/{ct_name}

`DELETE /api/v2/constrainttemplates/{ct_name}`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v2/constrainttemplates/:ct_name/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the specified cluster

## Path parameters

- `ct_name` string, required

## Response `200`

EmptyResponse is a empty response

## Other responses

- `401`: EmptyResponse is a empty response
- `403`: EmptyResponse is a empty response
- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
