---
search:
  tags:
    - tasks
    - PATCH
seo:
  description: >-
    Updates the body of an existing task comment. Only… Reference for the PATCH
    /tasks/{identifier}/comments/{commentId} endpoint in the Leadtime Public API
    API.
sidebar:
  badge: PATCH
  label: Update task comment
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.

<Operation source="api-reference" id="taskscontroller-updatetaskcomment" />
