---
title: "Delete a task"
method: POST
path: "/delete-task"
tags: ["Tasks"]
---

# Delete a task

`POST /delete-task`

Delete a task from Taskwarrior

## Request body

- ModelsDeleteTaskRequestBody
  - `UUID` string
  - `email` string
  - `encryptionSecret` string
  - `taskuuid` string

## Response `202`

Task deletion accepted for processing

- string

## Other responses

- `400` — Bad request - invalid input or missing taskuuid
- `405` — Method not allowed

---

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