---
title: "Remove task"
method: DELETE
path: "/tasks/{task_id}"
tags: ["Tasks"]
---

# Remove task

`DELETE /tasks/{task_id}`

Removes a task from a file.

## Path parameters

- `task_id` string, required

## Response `204`

Returns an empty response when the task was successfully deleted.

## Other responses

- `404` — Returns an error when the task could not be found or the user does not have access to the file the task is assigned to.
- `default` — An unexpected client error.

---

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