---
title: "Delete a public secret incident note"
method: DELETE
path: "/v1/public-incidents/secrets/{incident_id}/notes/{note_id}"
tags: ["Public Secret Incident Notes"]
---

# Delete a public secret incident note

`DELETE /v1/public-incidents/secrets/{incident_id}/notes/{note_id}`

Delete an existing comment on a public secret incident. Only incident notes
created by the current API key can be deleted.

## Path parameters

- `incident_id` integer, required
- `note_id` integer, required

## Response `204`

The note was deleted successfully.

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — You cannot delete an Incident Note you that was not created by the current API key.
- `404` — Public Secret Incident or Incident Note not found.
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
