---
title: "Delete a comment"
method: DELETE
path: "/comments/{id}"
tags: ["Comments"]
---

# Delete a comment

`DELETE /comments/{id}`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/comments/{id}`
- Auth: HTTP bearer

Soft-deletes a comment. Non-elevated roles may only delete their own.

## Path parameters

- `id` integer, required

## Headers

- `Idempotency-Key` string, uuid

## Response `200`

Deleted

- object
  - `data` object, required
    - `id` integer, required
    - `deleted` boolean, required

## Other responses

- `403`: Error
- `404`: Error

---

[API](https://skmtc.dev/buildworkpro/apis/buildworkpro-api.md) · [All operations](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/revisions/441cf40012f7?raw)
