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

# Delete a secret incident note

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

Delete an existing comment on a 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` — 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)
