---
title: "PATCH /comment/{tableId}/{recordId}/{commentId}"
method: PATCH
path: "/comment/{tableId}/{recordId}/{commentId}"
tags: ["comment"]
---

# PATCH /comment/{tableId}/{recordId}/{commentId}

`PATCH /comment/{tableId}/{recordId}/{commentId}`

update record comment

## Path parameters

- `tableId` string, required
- `recordId` string, required
- `commentId` string, required

## Request body

- object
  - `content` union[], required
    - union
      - object
        - `type` 'p', required
        - `value` unknown
        - `children` union[], required
          - union
            - object
              - …
            - object
              - …
            - object
              - …
      - object
        - `type` 'img', required
        - `value` unknown
        - `path` string, required
        - `width` number
        - `url` string

## Response `200`

Successfully update comment.

---

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