---
title: "Update an existing task comment"
method: POST
path: "/tasks/{taskID}/comments/{commentID}"
tags: ["task"]
---

# Update an existing task comment

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

Update an existing 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 updated task comment object.

- ModelsTaskComment
  - `author` UserUser
    - `bot_owner_id` integer — BotOwnerID is the ID of the owning (human) user if this user is a bot. A non-zero value means this user is a bot and cannot authenticate via password.
    - `created` string — A timestamp when this task was created. You cannot change this value.
    - `email` string — The user's email address.
    - `id` integer — The unique, numeric id of this user.
    - `name` string — The full name of the user.
    - `updated` string — A timestamp when this task was last updated. You cannot change this value.
    - `username` string — The username of the user. Is always unique.
  - `comment` string
  - `created` string
  - `id` integer
  - `reactions` ModelsReactionMap
  - `updated` string

## 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)
