Mark all notifications as read

PUT/notifications/read-all

Mark every unread notification of the authenticated user as read. Returns how many were updated.

AuthLogin required

Response

FieldTypeDescription
successbooleanAlways true.
readCountnumberNumber of notifications marked as read.
Request
curl https://api.4s.link/notifications/read-all \
-X PUT \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"success": true,
"readCount": 3
}