Created
September 28, 2025 00:30
-
-
Save malisipi/0d0632a855fec20342e89490294f6f9f to your computer and use it in GitHub Desktop.
clean phantom notifications github
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create token at https://github.com/settings/tokens | |
| # Allow notification access in token to allow | |
| export GITHUB_TOKEN="gh-token" | |
| curl -s -X PUT \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "Authorization: Bearer $GITHUB_TOKEN" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ | |
| -d '{"last_read_at":"2025-09-28T00:00:00Z","read":true}' \ # IMPORTANT: Update time | |
| https://api.github.com/notifications |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment