Skip to content

Mark All Notifications Read

POST
/api/canvas/notifications/mark-all-read
curl --request POST \
--url https://example.com/api/canvas/notifications/mark-all-read \
--header 'Authorization: Bearer <token>'

Mark all unread notifications as read for the current user.

Successful Response

Media type application/json
MarkReadResponse
object
marked_count
required
Marked Count
integer
unread_count
required
Unread Count
integer
Example generated
{
"marked_count": 1,
"unread_count": 1
}