---
search:
  tags:
    - tasks
    - PATCH
seo:
  description: >-
    Updates the body of an existing task comment. Only the… Reference for the
    PATCH /tasks/{identifier}/comments/{commentId} endpoint in the Leadtime
    Public API.
sidebar:
  label: Update task comment
  badge: PATCH
title: Update task comment
type: openapi-operation
---
Updates the body of an existing task comment. Only the comment author can edit their own comment - this ensures comment integrity and prevents unauthorized modifications. The task identifier can be either a UUID or a numeric shortNumber. The comment body can be provided in HTML or Markdown format and will be converted to the internal editor format. The updated comment retains its original creation timestamp, author, and guest access settings.

`PATCH /tasks/{identifier}/comments/{commentId}`
