PATCH
/
notifications
/
{notificationId}
/
read
Mark Notification as Read
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"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

notificationId
string
required

ID of the notification to mark as read

Example:

"1"

Response

200
application/json

Notification marked as read

The response is of type object.