POST
/
notifications
/
read-all
Mark all notifications as read
curl --request POST \
  --url https://localhost:5000/notifications/read-all \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "All notifications marked as read"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

All notifications marked as read

success
boolean
Example:

true

message
string
Example:

"All notifications marked as read"