---
title: "Delete Task"
method: DELETE
path: "/task/{id}"
tags: ["Tasks"]
---

# Delete Task

`DELETE /task/{id}`

Delete a task by ID

## Path parameters

- `id` string, required

## Response `200`

Task deleted successfully

- object
  - `id` string, required
  - `projectId` string, required
  - `position` number, nullable, required
  - `number` number, nullable, required
  - `userId` string, nullable, required
  - `title` string, required
  - `description` string, nullable, required
  - `status` string, required
  - `priority` 'no-priority' | 'low' | 'medium' | 'high' | 'urgent', required
  - `startDate` string, date-time
  - `dueDate` string, date-time
  - `createdAt` string, date-time, required

## Changes

- **2026-07-11** `32cece1ebe43` — 3 breaking, 1 info
  - the `createdAt` response's property type/format changed from ``/`` to `string`/`date-time` for status `200`
  - the `dueDate` response's property type/format changed from ``/`` to `string`/`date-time` for status `200`
  - the `priority` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - added the optional property `startDate` to the response with the `200` status
- **2026-03-05** `c45ef22a736c` — 4 breaking, 4 info
  - the response property `description` became nullable for the status `200`
  - the response property `number` became nullable for the status `200`
  - the response property `position` became nullable for the status `200`
  - the response property `userId` became nullable for the status `200`
  - …4 more
- **2026-03-04** `298877d6a79a` — 5 breaking
  - response property `description` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `number` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `position` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `userId` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - …1 more
- …earlier changes not shown

[Full history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/task/:id/delete.md)

---

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