---
title: "/discussions/:discussionId/comments/:commentId"
method: DELETE
path: "/v1/discussions/{discussionId}/comments/{commentId}"
tags: ["Discussions"]
---

# /discussions/:discussionId/comments/:commentId

`DELETE /v1/discussions/{discussionId}/comments/{commentId}`

## Request

- Base URL: `api.air.inc` (relative, and the document’s source URL is not known)
- URL: `api.air.inc/v1/discussions/{discussionId}/comments/{commentId}`
- Auth: one of:
  - API key in header `x-api-key` and API key in header `x-air-workspace-id`
  - HTTP bearer and API key in header `x-air-workspace-id`
- TypeScript: <https://skmtc.dev/air/apis/air-api/docs/v1/discussions/:discussionId/comments/:commentId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a comment.

Only the author can delete. An author who no longer has
`asset.canManageDiscussions` can no longer delete. The response is 204
with no body.

Deleting the last comment deletes the discussion. A later read of that
discussion is 404. Polling the comment list cannot detect the delete.

Requires the `comments.write` OAuth scope.

## Response `204`

Comment deleted. No response body.

## Other responses

- `403`: You are not the author, or you cannot manage discussions
- `404`: Discussion or comment not found

## Changes

- **2026-11-03** `8e6005b272a1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/air/apis/air-api/changes/v1/discussions/:discussionId/comments/:commentId/delete.md)

---

[API](https://skmtc.dev/air/apis/air-api.md) - [All operations](https://skmtc.dev/air/apis/air-api/llms.txt) - [OpenAPI document](https://skmtc.dev/air/apis/air-api/revisions/8e6005b272a1?raw)
