---
title: "update comment"
method: PUT
path: "/answer/api/v1/comment"
tags: ["Comment"]
---

# update comment

`PUT /answer/api/v1/comment`

update comment

## Request body

- SchemaUpdateCommentReq
  - `captcha_code` string
  - `captcha_id` string — whether user can delete it
  - `comment_id` string, required — comment id
  - `original_text` string, required — original comment content

## Response `200`

OK

- HandlerRespBody
  - `code` integer — http code
  - `data` unknown
  - `msg` string — response message
  - `reason` string — reason key

---

[API](https://skmtc.net/apache/apis/apache-answer.md) · [All operations](https://skmtc.net/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apache/apache-answer/versions/e9c2980e6571/schema)
