Fix GitHub ghost notifications

 · 1 min · torgeir

How to remove stuck GitHub notifications.

Github

Apparently GitHub recently was hit with scams , that cause stuck notifications to appear on people’s github accounts , after they cleaned up the scam repos.

Here’s how to fix it :

  • Create a new classic personal access token
  • Run the following request, inserting the token and and today’s iso datetime string, e.g. like 2025-10-05T00:00:00.000Z
curl -X PUT \
  -H "Accept: application/vnd.github.v3+json" \
  -H "Authorization: token <token-goes-here>" \
   https://api.github.com/notifications \
  -d '{"last_read_at":"<todays-iso-datetime-string-goes-here>"}'
  • Revoke your newly created token

Iz gone.