Mark repository notifications as read
PUT {{baseUrl}}/repos/:owner/:repo/notifications
Marks all notifications in a repository as read
removes them from the default view on GitHub. If the number of notifications is too large to complete in one request, you will receive a 202 Accepted
status and GitHub will run an asynchronous process to mark notifications as read.
To check whether any unread
notifications remain, you can use the List repository notifications for the authenticated user endpoint and pass the query parameter all=false
.
Request Body
{"last_read_at"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |