---
title: "Update an incident comment"
method: PATCH
path: "/incidents/{id}/comments/{commentId}"
tags: ["Incidents"]
---

# Update an incident comment

`PATCH /incidents/{id}/comments/{commentId}`

Updates an existing comment on an incident

## Path parameters

- `id` string, required
- `commentId` number, required

## Request body

- UpdateIncidentCommentRequestDto
  - `content` string, required — Updated content of the comment
  - `publishOnStatusPage` boolean — Whether the comment is published on the status page

## Response `200`

- IncidentCommentDto
  - `id` number, required
  - `comment` string, required
  - `publishOnStatusPage` boolean, required
  - `created` union, required
    - unknown
    - string
  - `user` object, required
    - `id` number, required
    - `fullName` string, required

---

[API](https://skmtc.net/uptimerobot/apis/uptimerobot-api.md) · [All operations](https://skmtc.net/uptimerobot/apis/uptimerobot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uptimerobot/uptimerobot-api/revisions/2b6fa8c427ba/schema)
