PUT
/notifications/mark-all-as-read
Mark all notifications as read
Notifications
Description
Marks all unread notifications as read for the authenticated user.
Authentication Required: User must be authenticated.
Responses
200
All notifications marked as read successfully
application/jsonstatusstring
Example:
successmessagestring
Example:
All notifications marked as readExample:
{
"status": "success",
"message": "All notifications marked as read"
}
401
Authentication required
application/jsonExample:
{
"status": "error",
"message": "Not authenticated or insufficient permissions"
}