---
title: "Delete a case comment or alert"
method: DELETE
path: "/api/cases/{caseId}/comments/{commentId}"
tags: ["cases"]
---

# Delete a case comment or alert

`DELETE /api/cases/{caseId}/comments/{commentId}`

**Spaces method and path for this operation:**

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/cases/{caseId}/comments/{commentId}</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the cases you're deleting.

## Path parameters

- `caseId` string, required
- `commentId` string, required

## Headers

- `kbn-xsrf` string, required

## Response `204`

Indicates a successful call.

## Other responses

- `401` — Authorization information is missing or invalid.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
