---
title: "Delete a task"
method: DELETE
path: "/projects/{project_id}:{branch}/tasks/{task_id}"
tags: ["Tasks"]
---

# Delete a task

`DELETE /projects/{project_id}:{branch}/tasks/{task_id}`

## Request

- Base URL: `https://api.lokalise.com/api2`
- URL: `https://api.lokalise.com/api2/projects/{project_id}:{branch}/tasks/{task_id}`
- Auth: API key in header `X-Api-Token`

Deletes a task from the project. Requires *Manage tasks* admin right.

Requires <code>write_tasks</code> OAuth access scope.

## Path parameters

- `project_id` string, required
- `branch` string, required
- `task_id` number, required

## Response `200`

OK

- object
  - `project_id` string
  - `task_deleted` boolean

---

[API](https://skmtc.dev/lokalise/apis/projects-with-branches.md) - [All operations](https://skmtc.dev/lokalise/apis/projects-with-branches/llms.txt) - [OpenAPI document](https://skmtc.dev/lokalise/apis/projects-with-branches/revisions/7ed3f978a361?raw)
