---
title: "Delete a task comment"
method: DELETE
path: "/v1/tasks/{task_id}/comments/{id}"
tags: ["Tasks"]
---

# Delete a task comment

`DELETE /v1/tasks/{task_id}/comments/{id}`

## Request

- Base URL: `https://api.slant.app`
- URL: `https://api.slant.app/v1/tasks/{task_id}/comments/{id}`
- Auth: HTTP bearer

Soft-delete a comment authored by the authenticated user and its replies.

## Response `204`

Comment deleted

## Other responses

- `400`: Bad Request - malformed JSON, invalid filters, or missing required book context
- `401`: Unauthorized - missing or invalid token
- `403`: Access denied. Policy and membership failures may have an empty body. A read-only personal token cannot perform writes.
- `429`: An hourly API rate limit was exceeded. Wait Retry-After seconds before retrying.

## Changes

- **2026-11-03** `173c41bf6be9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/slant/apis/slant-public-api-v1/changes/v1/tasks/:task_id/comments/:id/delete.md)

---

[API](https://skmtc.dev/slant/apis/slant-public-api-v1.md) - [All operations](https://skmtc.dev/slant/apis/slant-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/slant/apis/slant-public-api-v1/revisions/173c41bf6be9?raw)
