Skip to content

Instantly share code, notes, and snippets.

@genbtc
Created December 25, 2025 17:15
Show Gist options
  • Select an option

  • Save genbtc/364a39894967e227f14adf3ce604b27a to your computer and use it in GitHub Desktop.

Select an option

Save genbtc/364a39894967e227f14adf3ce604b27a to your computer and use it in GitHub Desktop.
/home/genr8eofl/github-notification-recovery.sh
#Deletes a phantom notification caused by spammers
export TOKEN="YOUR_TOKEN_HERE";
curl -X PUT -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $TOKEN" https://api.github.com/notifications -d '{"last_read_at": null,"read":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment