Skip to content

Mark a thread as read

PATCH
/notifications/threads/{thread_id}

Marks a thread as “read.” Marking a thread as “read” is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.

API method documentation

thread_id
required
integer

The unique identifier of the notification thread. This corresponds to the value returned in the id field when you retrieve notifications (for example with the GET /notifications operation).

Reset Content

Not modified

Forbidden

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}