Skip to main content
PUT
/
v1
/
api
/
notifications
/
read-all
Mark all notifications as read
curl --request PUT \
  --url http://localhost:3091/v1/api/notifications/read-all \
  --header 'Authorization: Bearer <token>'
{
  "status": 404,
  "errorCode": "RESOURCE_NOT_FOUND",
  "message": "Ressource non trouvée",
  "timestamp": "2023-11-07T05:31:56Z",
  "path": "/v1/api/bookings/123",
  "debugInfo": "<string>",
  "suggestions": [
    "<string>"
  ],
  "fieldErrors": [
    {
      "field": "email",
      "message": "must not be blank",
      "rejectedValue": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Response

All notifications marked as read