inbox-dismiss-notification
Dismiss GitHub notification
Available Actions
Replace {thread_id} with the notification's id field.
Mark as read
Notification will still render in inbox, but marked as read.
gh api --method PATCH /notifications/threads/{thread_id}
Mark as done
Notification will be marked as done and removed from inbox, but doesn't unsubscribe from the thread.
gh api --method DELETE /notifications/threads/{thread_id}
Unsubscribe from thread
Will no longer receive notifications from the thread.
gh api --method DELETE /notifications/threads/{thread_id}/subscription
Dismiss notification
To fully dismiss a notification, unsubscribe and mark as done.
gh api --method DELETE /notifications/threads/{thread_id}/subscription
gh api --method DELETE /notifications/threads/{thread_id}
Dismmiss multiple commands
Chain multiple commands together in a single terminal invocation using && or ; to avoid multiple confirmations.
Rules
- ALWAYS prepend
GH_PAGER=cattogh apicalls to avoid interactive pagers - NEVER add other environment variable prefixes
Loading supporting files
microsoft/vscode-team-kit · MIT · Revision b6c13ecc74ac
Be the first to comment
Share what worked or leave a question for the creator.