curl --location --request PUT 'https://api.github.com/notifications/threads//subscription' \
--header 'Content-Type: application/json' \
--data-raw '{
"ignored": false
}'
{
"created_at": "2012-10-06T21:34:12.000Z",
"ignored": true,
"reason": "string",
"repository_url": "https://api.github.com/repos/1",
"subscribed": true,
"thread_url": "https://api.github.com/notifications/threads/1",
"url": "https://api.github.com/notifications/threads/1/subscription"
}
id
field when you retrieve notifications (for example with the GET /notifications
operation).