Skip to content

Instantly share code, notes, and snippets.

@dieseltravis
Last active November 3, 2025 01:50
Show Gist options
  • Select an option

  • Save dieseltravis/b717276d20dc25ce677c6308c6d48151 to your computer and use it in GitHub Desktop.

Select an option

Save dieseltravis/b717276d20dc25ce677c6308c6d48151 to your computer and use it in GitHub Desktop.
github ghost notification fix from https://github.com/orgs/community/discussions/6874
curl -X PUT \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $TOKEN" \
https://api.github.com/notifications \
-d '{"last_read_at":"2025-08-31T00:00:00Z"}'
gh api /notifications -X GET | jq -r '.[].id' | xargs -I {} gh api /notifications/threads/{} -X PATCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment