---
title: "Delete a task template"
method: DELETE
path: "/api/admin/task-templates/{id}"
tags: ["Admin - Task Templates"]
---

# Delete a task template

`DELETE /api/admin/task-templates/{id}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/admin/task-templates/{id}`
- Auth: none declared

Soft delete a task template. Admin only.

## Path parameters

- `id` string, uuid, required

## Response `204`

Task template deleted

## Other responses

- `401`: Unauthorized
- `404`: Task template not found
- `500`: Internal server error

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
