apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /notifications — GitHub API

GitHub playground

Mark notifications as read

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Body application/json

2 body fields
  • last_read_at · optional · string — Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
  • read · optional · boolean — Whether the notification has been read.