Ir al contenido

Descartar una alerta de seguridad

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.

Ventana de terminal
curl --fail-with-body -X PATCH 'https://app.openlatch.ai/api/public/v1/alerts/<alert_id>/dismiss' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Rol en la organizaciónEste punto de conexión
ownerPermitido
adminPermitido
editorPermitido
viewerNo permitido

Una clave tiene el rol que su propietario ocupa en la organización. Consulte Autenticación.

Ámbito de la clave de API: alerts:write

ParámetroTipoDescripción
alert_idstring (uuid)Obligatorio.
ParámetroTipoDescripción
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.
CampoTipoDescripción
dismissed_atstring (date-time) or nullObligatorio.
idstring (uuid)Obligatorio.
read_atstring (date-time) or nullObligatorio.
statusstring — one of unread, read, dismissedObligatorio.
{
"dismissed_at": "2026-01-15T14:32:05Z",
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"read_at": "2026-01-15T14:32:05Z",
"status": "unread"
}