---
title: "Edit Comment"
method: PATCH
path: "/claims/{claim_id}/comments/{comment_id}"
tags: ["claims"]
---

# Edit Comment

`PATCH /claims/{claim_id}/comments/{comment_id}`

## Request

- Base URL: `https://api.claimkit.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.claimkit.co/claims/{claim_id}/comments/{comment_id}`
- Auth: none declared

Edit own comment text.

Tracking-only collaborators may edit their own replies, which only ever
sit on non-financial threads; the check mirrors ``create_comment``.

## Path parameters

- `claim_id` integer, required
- `comment_id` integer, required

## Request body

- EditCommentRequest
  - `comment` string, required

## Response `200`

Successful Response

- CommentResponse
  - `id` integer, required
  - `answer_id` integer, required
  - `comment` string, nullable
  - `comment_type` string, nullable
  - `status` string, nullable
  - `parent_id` integer, nullable
  - `is_confirmation` boolean
  - `user` CommentUserEmbedded, required
    - `id` integer, required
    - `name` string, nullable
  - `created_at` string, required
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimkit/apis/claimkit-api.md) - [All operations](https://skmtc.dev/claimkit/apis/claimkit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/claimkit/apis/claimkit-api/revisions/94dc85ba5326?raw)
