> ## 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 page URL

> Move a comment to a different page URL.

Updates the page URL for a single comment, or optionally for all comments on the same old page URL.

## Path parameters

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

## Request body

<ParamField body="new_page_url" type="string" required>
  New full page URL for the comment.
</ParamField>

<ParamField body="update_all_comments" type="boolean">
  When `true`, updates all comments from the old page URL.
</ParamField>

<ParamField body="old_page_url" type="string">
  Required when `update_all_comments` is `true`.
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Page URL updated successfully",
    "data": {
      "comment": {
        "id": "990e8400-e29b-41d4-a716-446655440004",
        "page_url": "https://example.com/new-home"
      }
    }
  }
  ```
</ResponseExample>
