Skip to content

Hard-delete a single security alert

DELETE/api/public/v1/alerts/{alert_id}

Permanently removes the row. Distinct from PATCH /{id}/dismiss (soft archive). Editor+ — frontend gates with a Tier-2 `DELETE` keyword confirmation. Cross-tenant returns 404.

Terminal window
curl --fail-with-body -X DELETE 'https://app.openlatch.ai/api/public/v1/alerts/<alert_id>' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Role in the organizationThis endpoint
ownerAllowed
adminAllowed
editorAllowed
viewerNot allowed

A key carries the role its owner holds in the organization. See Authentication.

API key scope: alerts:write

ParameterTypeDescription
alert_idstring (uuid)Required.
ParameterTypeDescription
Idempotency-Keystring or nullOptional. Makes the request safe to retry: the same key and the same request, within 24 hours, returns the stored response with Idempotent-Replayed: true and runs once.