Skip to content
","upvoteCount":2,"url":"https://github.com/orgs/community/discussions/178915#discussioncomment-14917833"}}}
Discussion options

You must be logged in to vote

Same issues:

The simple fix is:

export now=$(date +%Y-%m-%dT%H:%M:%SZ)
curl -H "Authorization: bearer YOUR_GITHUB_TOKEN" -X PUT -H "Accept: application/vnd.github.v3+json" https://api.github.com/notifications -d '{"last_read_at":"'"$now"'"}'

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@askoa
Comment options

Answer selected by askoa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Feed
Labels
Bug GitHub or a GitHub feature is not working as intended Notifications Keep track of everything happening across all your projects
2 participants