---
title: "Updates comment for event type"
method: PUT
path: "/event/{idEvent}/comment/{idComment}"
tags: ["Events"]
---

# Updates comment for event type

`PUT /event/{idEvent}/comment/{idComment}`

## Path parameters

- `idEvent` integer, required
- `idComment` integer, required

## Request body

- EventComment
  - `idEventComment` integer — id event comment
  - `idEvent` integer — id event comment
  - `utimestamp` integer, nullable — Event comment utimestamp create
  - `comment` string — content of the comment
  - `idUser` string — User id create comment
  - `action` string — content of the action

## Response `200`

Event comment object

- EventComment
  - `idEventComment` integer — id event comment
  - `idEvent` integer — id event comment
  - `utimestamp` integer, nullable — Event comment utimestamp create
  - `comment` string — content of the comment
  - `idUser` string — User id create comment
  - `action` string — content of the action

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

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