---
title: "Delete a user template"
method: DELETE
path: "/templates/{id}"
tags: ["Templates"]
---

# Delete a user template

`DELETE /templates/{id}`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/templates/{id}`
- Auth: API key in header `Authorization`

Delete the user template and its files. Only its author or the workspace owner can. Its source project and projects started from it are not affected. Rendley templates can't be deleted here.

## Path parameters

- `id` string, required

## Response `200`

OK

- HttpResponseResponse
  - `data` unknown
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `401`: Unauthorized
- `404`: NOT_FOUND

---

[API](https://skmtc.dev/rendley/apis/rendley-api.md) - [All operations](https://skmtc.dev/rendley/apis/rendley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rendley/apis/rendley-api/revisions/7eb8713bbf78?raw)
