---
search:
  tags:
    - tasks
    - DELETE
seo:
  description: >-
    Soft deletes a task comment. The comment is marked as… Reference for the
    DELETE /tasks/{identifier}/comments/{commentId} endpoint in the Leadtime
    Public API.
sidebar:
  label: Delete task comment
  badge: DELETE
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.

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