Comments

Update comment

Updates the text of an internal (private) comment. Public replies cannot be edited — returns 400 if attempted.

patch/v1/comments/{commentId}

Request

  • Base URL: https://api.ybug.io
  • URL: https://api.ybug.io/v1/comments/{commentId}
  • Auth: HTTP bearer

Request body

bodystring required

The updated comment body (max 500 characters, HTML stripped).

Example request

{
  "body": "Updated: can you try a hard refresh?"
}

Response

Comment successfully updated.

idstring uuid

Comment identifier (UUID).

bodystring

The comment body text.

internalboolean

True if this is a private team comment (note), false if it is a public reply.

created_atstring date-time
updated_atstring date-time nullable

Example response

{
  "id": "019a77e7-5105-774f-ac0b-1b9b18f8366a",
  "body": "Can you try clearing your cache?",
  "author": {
    "id": "019a77e7-5105-774f-ac0b-1b9b18f8366a",
    "name": "Jana Nováková",
    "email": "jana.novakova@corp.com"
  },
  "created_at": "2025-11-12T11:50:39.000Z",
  "updated_at": "2025-11-12T12:05:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.