---
title: "Delete an exception comment"
method: DELETE
path: "/v1/exceptions/{exceptionId}/comments/{commentId}"
tags: ["Exception"]
---

# Delete an exception comment

`DELETE /v1/exceptions/{exceptionId}/comments/{commentId}`

Use this endpoint to delete a specific comment from an exception.

## Path parameters

- `exceptionId` string, required
- `commentId` string, required

## Headers

- `X-Request-Id` string

## Response `204`

Comment successfully deleted

## Other responses

- `400` — The request contains invalid parameters or payload.
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — Comment or exception not found
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
