> ## Documentation Index
> Fetch the complete documentation index at: https://developer.surefeedback.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update comment

> Edit a comment's content or priority.

Updates the content or metadata of an existing comment. Users can only edit their own comments; admins can edit any comment.

## Path parameters

<ParamField path="id" type="string" required>
  UUID of the comment.
</ParamField>

## Request body

<ParamField body="content" type="string">
  Updated comment text.
</ParamField>

<ParamField body="priority" type="string">
  Updated priority: `LOW`, `MEDIUM`, `HIGH`, or `URGENT`.
</ParamField>

<ParamField body="status" type="string">
  Updated status, for example `OPEN`, `IN_PROGRESS`, `RESOLVED`, or `CLOSED`.
</ParamField>

<ParamField body="page_url" type="string">
  Updated page URL.
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "data": {
      "id": "990e8400-e29b-41d4-a716-446655440004",
      "content": "Updated: The header is misaligned below 768px width.",
      "priority": "HIGH"
    }
  }
  ```
</ResponseExample>
