---
title: "Update a comment thread"
method: PATCH
path: "/api/v1/comment-threads/{threadId}"
tags: ["comment"]
---

# Update a comment thread

`PATCH /api/v1/comment-threads/{threadId}`

## Path parameters

- `threadId` string, uuid, required

## Request body

- object
  - `position` object
    - `x` number, required
    - `y` number, required
  - `isResolved` boolean

## Response `200`

200

- object
  - `id` string, uuid, required
  - `canvasId` string, uuid, required
  - `position` object, required
    - `x` number, required
    - `y` number, required
  - `isResolved` boolean, required
  - `createdByUserId` string, uuid, required
  - `createdByName` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `comments` object[], required
    - `id` string, uuid, required
    - `threadId` string, uuid, required
    - `body` string, required
    - `createdByUserId` string, uuid, required
    - `createdByName` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `401` — Missing, invalid, expired, or revoked API key.
- `403` — The API key's user is not a member of the requested team.
- `429` — Rate limit reached — retry after the `Retry-After` header.

---

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