Marks one or all notifications as read for the authenticated user. If notification-id
is omitted, all unread notifications will be marked as read.
Name | Type | Required | Description | Example |
---|---|---|---|---|
notification-id | int | No | ID of the notification to mark as read. If omitted, marks all. | 123 |
Returns a confirmation message.
{
"message": "Notifications marked as read"
}
Status | Description | Reference |
---|---|---|
401 | Unauthorized | Authentication error |
404 | Not found | Not-found error |