Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Block RMS support letter signers
#replace "<PAT TOKEN>" with your github PAT token, tested with "Update ALL user data" PAT token.
curl -q | grep "href" | grep "" | grep -v "\/\[" | awk -F "" '{ print $2 }' | awk -F "\"\>" '{ print $1 }' | sed 's/\///g' | sed '/^$/d' | xargs -I USER curl -i -X PUT -H "Authorization: token <pat token here>" -H "Accept: application/vnd.github.v3+json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment