---
title: "Delete a task"
method: DELETE
path: "/public/v1/tasks/{id}"
tags: ["Task"]
---

# Delete a task

`DELETE /public/v1/tasks/{id}`

Permanently deletes a task. This is a hard delete: the task is removed and cannot be recovered.
Returns 404 if no matching task exists in your company. Responds 204 with no body on success.

Required permission: `tasks_permissions_delete`.

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `400` — Invalid parameters
- `401` — Missing or invalid API token
- `403` — The API token lacks the required permission
- `404` — Not Found

---

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