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

## Query parameters

- `fields` string, nullable

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

---

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