---
title: "Destroy comment"
method: DELETE
path: "/comments/{target_app}/{target_model}/{id}"
tags: ["Comments"]
---

# Destroy comment

`DELETE /comments/{target_app}/{target_model}/{id}`

Destroy a specific comment by its id.

## Path parameters

- `id` string, required
- `target_app` 'taskflow', required
- `target_model` 'task', required

## Headers

- `X-Company-ID` string, required

## Response `204`

Comment deleted successfully

## Other responses

- `404`

## Changes

- **2026-08-19** `67d9f45bb99b` — 2 breaking
  - removed the required property `created_by_user_company/allOf[#/components/schemas/UserCompany]/permission_group` from the response with the `404` status
  - removed the required property `deleted_by_user_company/allOf[#/components/schemas/UserCompany]/permission_group` from the response with the `404` status

[Change history](https://skmtc.dev/cubesoftware/apis/cube-api/changes/comments/:target_app/:target_model/:id/delete.md)

---

[API](https://skmtc.dev/cubesoftware/apis/cube-api.md) · [All operations](https://skmtc.dev/cubesoftware/apis/cube-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cubesoftware/cube-api/revisions/d8eda658fd32/schema)
