---
title: "Remove a task comment"
method: DELETE
path: "/tasks/{taskID}/comments/{commentID}"
tags: ["task"]
---

# Remove a task comment

`DELETE /tasks/{taskID}/comments/{commentID}`

Remove a task comment. The user doing this need to have at least write access to the task this comment belongs to.

## Path parameters

- `taskID` integer, required
- `commentID` integer, required

## Response `200`

The task comment was successfully deleted.

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

## Other responses

- `400` — Invalid task comment object provided.
- `404` — The task comment was 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/revisions/feb3f68bbdf1/schema)
