---
title: "Delete Task (V1)"
method: DELETE
path: "/v1.0/tasks/{taskId}"
tags: ["Tasks & Appointments"]
---

# Delete Task (V1)

`DELETE /v1.0/tasks/{taskId}`

Deletes a task by ID. Caller must have manage permission on the task's lead. The response body is empty.

## Path parameters

- `taskId` integer, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Response `200`

Task deleted successfully. No response body.

## Other responses

- `401` — Missing or invalid authentication token.
- `404` — Task does not exist (TASK_NOT_EXIST) or caller lacks access to the lead (20006 LEAD_NOT_EXIST).
- `500` — Internal server error.

---

[API](https://skmtc.net/lofty/apis/lofty-service-open-apis.md) · [All operations](https://skmtc.net/lofty/apis/lofty-service-open-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lofty/lofty-service-open-apis/versions/23e640467118/schema)
