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/json
statusstring
Example: success
messagestring
Example: All notifications marked as read
Example:
{
  "status": "success",
  "message": "All notifications marked as read"
}
401 Authentication required
application/json
Example:
{
  "status": "error",
  "message": "Not authenticated or insufficient permissions"
}