cURL
curl --request POST \ --url https://localhost:5000/notifications/read-all \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "All notifications marked as read" }
Mark all notifications as read for the current user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
All notifications marked as read
true
"All notifications marked as read"