---
title: "Remove a template"
method: DELETE
path: "/v1/template/{id}"
tags: ["Templates"]
---

# Remove a template

`DELETE /v1/template/{id}`

Remove a template and clear all of its contents. Images already rendered with this template may still be cached, but rendering an image with this template, which was never rendered before will fail.

## Path parameters

- `id` string, required

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.dev/htmlcsstoimage/apis/html-css-to-image-api.md) · [All operations](https://skmtc.dev/htmlcsstoimage/apis/html-css-to-image-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/htmlcsstoimage/html-css-to-image-api/revisions/07d679e7b124/schema)
