Marks all notifications as read for the current user.
notifications:update
curl --request PATCH \
--url https://server26-dot-royalti-project.uc.r.appspot.com/notifications/mark-all-read \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"message": "All notifications marked as read"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
All notifications marked as read
The response is of type object
.
curl --request PATCH \
--url https://server26-dot-royalti-project.uc.r.appspot.com/notifications/mark-all-read \
--header 'Authorization: Bearer <token>'
{
"status": "success",
"message": "All notifications marked as read"
}