Skip to main content
PATCH
/
notifications
/
user
/
:userId
/
mark-all-read
Mark All Notifications as Read
curl --request PATCH \
  --url https://www.api.baselink.tech/notifications/user/:userId/mark-all-read \
  --header 'bearer: <api-key>'
{
  "success": true,
  "message": "<string>",
  "updatedCount": 123
}
Mark all notifications as read for a specific user.
success
boolean
Indicates if all notifications were marked as read successfully.
message
string
Success or error message.
updatedCount
number
The number of notifications that were marked as read.