---
title: "Delete template"
method: DELETE
path: "/templates/{slug}"
tags: ["templates"]
---

# Delete template

`DELETE /templates/{slug}`

Deletes a template by slug.

## Path parameters

- `slug` string, required

## Response `200`

Template deleted

- object
  - `success` boolean

## Other responses

- `400` — Bad request.
- `401` — Unauthorized. Invalid auth key.
- `404` — Template not found.
- `429` — Too Many Requests. You have been rate limited.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/pdfshift/apis/pdfshift-api-documentation.md) · [All operations](https://skmtc.dev/pdfshift/apis/pdfshift-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pdfshift/pdfshift-api-documentation/revisions/0b8cbae61b89/schema)
