---
title: "Delete a Template"
method: DELETE
path: "/templates/{filename}"
tags: ["Templates"]
---

# Delete a Template

`DELETE /templates/{filename}`

Delete a template file

## Path parameters

- `filename` string, required

## Request body

- object
  - `reseller` string — The reseller or territory the template file applies to.
  - `domain` string — The domain the template file applies to.
  - `server` string — The server the template file applies to.

## Response `200`

- object

## Other responses

- `400`
- `401`
- `404`
- `x-404-2`

---

[API](https://skmtc.net/ns-api/apis/netsapiens-api-v2.md) · [All operations](https://skmtc.net/ns-api/apis/netsapiens-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ns-api/netsapiens-api-v2/revisions/d37f65b5b886/schema)
