How to bulk delete read/unread GitHub notifications? #184784
Closed
Answered
by
Akkii88
ajm19826
asked this question in
Other Feature Feedback, Questions, & Ideas
-
Beta Was this translation helpful? Give feedback.
Answered by
Akkii88
Jan 20, 2026
Replies: 2 comments 1 reply
-
Method 1: Keyboard Shortcuts (Fastest in Browser)
Method 2: GitHub CLI (Most Efficient for Bulk)If you have the GitHub CLI installed, you can mark all notifications as read instantly with this command: gh api --method PUT /notifications -f last_read_at=$(date -u +%Y-%m-%dT%H:%M:%SZ)To archive every notification (Mark as Done), you can run this loop: gh api notifications --paginate | jq -r '.[].id' | xargs -I {} gh api --method PATCH /notifications/threads/{} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ajm19826
-
|
Once you select the checkbox for 25 notifications and wait a little bit, there's a link to select all of them: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Method 1: Keyboard Shortcuts (Fastest in Browser)
The next set will automatically load. Repeating this selection and archive cycle is significantly faster than manual clicking.
Method 2: GitHub CLI (Most Efficient for Bulk)
If you have the GitHub CLI installed, you can mark all notifications as read instantly with this command:
gh api --method PUT /notifications -f last_read_at=$(date -u +%Y-%m-%dT%H:%M:%SZ)To archive every notification (Mark as Done), you can run this loop: