---
title: "Delete a task"
method: DELETE
path: "/v1/tasks/{taskId}"
tags: ["Personal Tasks"]
---

# Delete a task

`DELETE /v1/tasks/{taskId}`

Delete a task by its ID

## Path parameters

- `taskId` integer, required

## Headers

- `X-Org-Id` integer, required

## Response `200`

Task deleted successfully

## Changes

- **2026-08-08** `237f5bbd4029` — 1 breaking, 1 info
  - removed the media type `application/hal+json` for the response with the status `200`
  - added the media type `application/vnd.hal+json` for the response with the status `200`

[Change history](https://skmtc.dev/astravue/apis/astravue-api/changes/v1/tasks/:taskId/delete.md)

---

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