Skip to main content
PATCH
Actualizar estado de múltiples notificaciones

Authorizations

Authorization
string
header
required

Token de sesión Better Auth o API token (atk_...) en el header Authorization: Bearer <token>. Los JWT legacy ya no son válidos.

Body

application/json
ids
string[]
required

Lista de IDs de notificaciones (ObjectId de 24 caracteres hexadecimales)

Minimum array length: 1
Pattern: ^[a-fA-F0-9]{24}$
Example:
status
enum<string>
required

Nuevo estado para las notificaciones

Available options:
unreviewed,
reviewed,
false_positive

Response

Notificaciones actualizadas exitosamente

status
string
Example:

"success"

data
object