---
title: "Deletes all comments of the specified task."
method: DELETE
path: "/tasks/{taskId}/comments"
tags: ["taskComments"]
---

# Deletes all comments of the specified task.

`DELETE /tasks/{taskId}/comments`

Deletes all comments of the specified task.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Path parameters

- `taskId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `204`

No Content

- object

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
