PATCH
/
notifications
/
mark-all-read
Mark All Notifications as Read
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"
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

All notifications marked as read

The response is of type object.