Skip to navigation

Update Comment

Update a comment’s content.

Authentication: Required — Bearer token.

Feature gate: Requires comments feature enabled.

Path parameters:

  • id (required) — Comment ID

Request body:

  • content (required) — Updated comment text

Response: The updated comment object.

Errors:

  • 404 — Comment not found
  • 422 — Validation errors

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
Comment ID

Request

This endpoint expects an object.
contentstringOptional

Response

OK