Skip to main content
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"
}
Marks all notifications as read for the current user.

Required Permissions

  • notifications:update

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Responses

āœ… 200 - All notifications marked as read

āš ļø 401 - undefined

āŒ 500 - undefined

Tags

Notifications

Authorizations

Authorization
string
header
required

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

Response

All notifications marked as read

status
string
Example:

"success"

message
string
Example:

"Operation completed successfully"

⌘I