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