---
title: "Remove a label from a task"
method: DELETE
path: "/tasks/{task}/labels/{label}"
tags: ["labels"]
---

# Remove a label from a task

`DELETE /tasks/{task}/labels/{label}`

Remove a label from a task. The user needs to have write-access to the project to be able do this.

## Path parameters

- `task` integer, required
- `label` integer, required

## Response `200`

The label was successfully removed.

- ModelsMessage
  - `message` string — A standard message.

## Other responses

- `403` — Not allowed to remove the label.
- `404` — Label not found.
- `500` — Internal error

---

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