Skip to content

Dismiss a security alert

PATCH/api/public/v1/alerts/{alert_id}/dismiss

Idempotent. Dismissal releases the row from the dedup unique index (`uq_security_alerts_org_event_active is partial on dismissed_at IS NULL`) so a future verdict on the same event creates a fresh row instead of upserting onto the dismissed one.

Terminal window
curl --fail-with-body -X PATCH 'https://app.openlatch.ai/api/public/v1/alerts/<alert_id>/dismiss' \
-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.
FieldTypeDescription
dismissed_atstring (date-time) or nullRequired.
idstring (uuid)Required.
read_atstring (date-time) or nullRequired.
statusstring — one of unread, read, dismissedRequired.
{
"dismissed_at": "2026-01-15T14:32:05Z",
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"read_at": "2026-01-15T14:32:05Z",
"status": "unread"
}