Skip to main content
POST
/
api
/
notifications
/
mark-all-read
Mark All as Read
curl --request POST \
  --url https://api.example.com/api/notifications/mark-all-read/
{
  "success": true,
  "message": "All notifications marked as read",
  "marked": 10
}
Mark all notifications as read.

Success Response (200)

success
boolean
Operation success status
message
string
Success message
marked
integer
Number of notifications marked as read
{
  "success": true,
  "message": "All notifications marked as read",
  "marked": 10
}