---
search:
  tags:
    - tasks
    - DELETE
seo:
  description: >-
    Soft deletes a task comment. The comment is marked… Reference for the DELETE
    /tasks/{identifier}/comments/{commentId} endpoint in the Leadtime Public API
    API.
sidebar:
  badge: DELETE
  label: Delete task comment
title: Delete task comment
type: openapi-operation
---
Soft deletes a task comment. The comment is marked as deleted but remains in the database for historical purposes. Comment authors can always delete their own comments. Users with Tasks.deleteAnyComment permission can delete any comment, allowing moderators to remove inappropriate content. The task identifier can be either a UUID or a numeric shortNumber. Access is controlled by project permissions and guest access settings.

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