---
title: "Move a template to the bin"
method: DELETE
path: "/api/templates/{id}"
tags: ["Templates"]
---

# Move a template to the bin

`DELETE /api/templates/{id}`

## Request

- Base URL: `https://morfee.furo.solutions`
- URL: `https://morfee.furo.solutions/api/templates/{id}`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP bearer

It sits in the bin for thirty days and can be put back from there. Renders on that id fail meanwhile.

Needs a key scoped `write` or `full`.

## Path parameters

- `id` string, required

## Response `200`

Moved to the bin.

- object
  - `ok` boolean
  - `deleted` string
  - `hint` string

## Other responses

- `401`: No key, an unknown key or a revoked one.
- `403`: The key is real and the organization is right, but the scope on it does not cover this. The message names the scope the key has, what that scope may do, and how to get a wider one, because the thing reading it is usually the thing that has to act on it.
- `404`: Not there, or not yours. Both give the same answer on purpose: a different one would let a caller find out which ids exist in another organization.

---

[API](https://skmtc.dev/furo/apis/morfee.md) · [All operations](https://skmtc.dev/furo/apis/morfee/llms.txt) · [OpenAPI document](https://skmtc.dev/furo/apis/morfee/revisions/83f95f89653f?raw)
