---
title: "PATCH /ticket/comments/{id}"
method: PATCH
path: "/ticket/comments/{id}"
tags: ["TicketComment"]
---

# PATCH /ticket/comments/{id}

`PATCH /ticket/comments/{id}`

Update comment

## Path parameters

- `id` string, required

## Request body

- TicketCreateOrUpdateCommentRequest
  - `body` string, required — The contents of the comment in plain text or HTML format.
  - `taskId` string, required — Task or Issue to which comment must belong

## Response `200`

- TicketCreateOrUpdateCommentResponse
  - `status` 'ok' | 'error', required
  - `message` string, required
  - `result` unknown, required

## Other responses

- `401`
- `404`
- `500`

## Changes

- **2024-03-04** `52cc79f75cb0` — 1 warning
  - deleted the `query` request parameter `fields`

[Change history](https://skmtc.dev/revertinc/apis/revert-api/changes/ticket/comments/:id/patch.md)

---

[API](https://skmtc.dev/revertinc/apis/revert-api.md) · [All operations](https://skmtc.dev/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/revertinc/revert-api/revisions/52cc79f75cb0/schema)
