---
title: "PUT /comment/id/{id}"
method: PUT
path: "/comment/id/{id}"
tags: ["comment"]
---

# PUT /comment/id/{id}

`PUT /comment/id/{id}`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/comment/id/{id}`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/comment/id/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

update comment

## Path parameters

- `id` string, required

## Query parameters

- `dryRun` boolean

## Request body

- Comment
  - `id` string
  - `version` string
  - `authorName` string
  - `authorUserId` string
  - `comment` string, required
  - `createdDate` integer
  - `entityId` string
  - `entityName` string
  - `htmlComment` string
  - `lastEditDate` integer
  - `lastModifiedDate` integer
  - `parentCommentId` string
  - `privateComment` boolean
  - `publicComment` boolean
  - `recipientUsers` OnlyId[]
    - `id` string
  - `solution` boolean

## Response `200`

comment update response

- Comment
  - `id` string
  - `version` string
  - `authorName` string
  - `authorUserId` string
  - `comment` string, required
  - `createdDate` integer
  - `entityId` string
  - `entityName` string
  - `htmlComment` string
  - `lastEditDate` integer
  - `lastModifiedDate` integer
  - `parentCommentId` string
  - `privateComment` boolean
  - `publicComment` boolean
  - `recipientUsers` OnlyId[]
    - `id` string
  - `solution` boolean

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - added the new optional `query` request parameter `dryRun`

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/comment/id/:id/put.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
