Mark all your notifications as read

posthttps://api.expiryedge.com/v1/markAllNotificationsRead
bearer token (Firebase ID token or session JWT); any role60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/markAllNotificationsRead' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "success": true,
  "message": "3 notifications marked as read"
}

Marks every unread notification of the caller as read. No body.

Rückgabe

200
All unread notifications marked as read.
  • successboolean
  • messagestring

Fehler

401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.