---
title: "Edit your own comment"
method: PATCH
path: "/v1/verifications/{verification_id}/comments/{comment_id}"
tags: ["Verifications"]
---

# Edit your own comment

`PATCH /v1/verifications/{verification_id}/comments/{comment_id}`

## Request

- Base URL: `https://api.lumethic.com`
- URL: `https://api.lumethic.com/v1/verifications/{verification_id}/comments/{comment_id}`
- Auth: `OAuth2PasswordBearer` (a scheme the document does not define)

Replace the body of a comment you wrote. Stamps ``edited_at``.

## Path parameters

- `verification_id` string, uuid, required
- `comment_id` string, uuid, required

## Headers

- `X-API-Key` string, nullable

## Request body

- CommentUpdateRequest
  - `body` string, required: Replacement comment text, 1-4000 characters

## Response `200`

Successful Response

- CommentResponse: A comment on a verification, visible to the owning account only.
  - `id` string, uuid, required
  - `verification_id` string, uuid, required
  - `author_user_id` string, uuid, nullable, required: Null when the author's user was deleted
  - `author_name` string, nullable, required: Author's display name at read time; null when unknown
  - `body` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `edited_at` string, date-time, nullable: Set when the body was changed after posting

## Other responses

- `403`: Not the comment's author
- `404`: Comment not found
- `422`: Empty or oversized comment

---

[API](https://skmtc.dev/lumethic/apis/lumethic-integration-api.md) · [All operations](https://skmtc.dev/lumethic/apis/lumethic-integration-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lumethic/apis/lumethic-integration-api/revisions/fdafea3a491e?raw)
