# Delete all case comments and alerts
**DELETE /api/cases/{caseId}/comments**
**Spaces method and path for this operation:**
delete /s/{space_id}/api/cases/{caseId}/comments
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
Deletes all comments and alerts from a case. 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.
## Servers
- https://localhost:5601: https://localhost:5601 ()
## Authentication methods
- Api key auth
- Basic auth
## Parameters
### Headers
- **kbn-xsrf** (string)
Cross-site request forgery protection
### Path parameters
- **caseId** (string)
The identifier for the case. To retrieve case IDs, use the search cases (`_find)` API. All non-ASCII characters must be URL encoded.
## Responses
### 204
Indicates a successful call.
### 401
Authorization information is missing or invalid.
#### Body: application/json (object)
- **error** (string)
- **message** (string)
- **statusCode** (integer)
[Powered by Bump.sh](https://bump.sh)