---
title: "Deletes tasks and optionally related time entries."
method: POST
path: "/tasks/delete"
tags: ["tasks"]
---

# Deletes tasks and optionally related time entries.

`POST /tasks/delete`

Returns 207 MultiStatus when individual deletions fail.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Headers

- `Authorization` string, required

## Request body

- TasksDeleteForm
  - `taskIds` string[], required — List of tasks to be deleted.
  - `deleteTimeTrackings` boolean — Set to true to also delete the related time trackings. If it is set to false, the related time trackings will still be there, but the project and task reference will be cleared. This will also happen if no request body is present.

## Response `207`

Multi-Status

- TasksPostTasksDeleteResponse207 — Empty response body

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
