Skip to content

Instantly share code, notes, and snippets.

@synsa
Created August 22, 2021 22:21
Show Gist options
  • Save synsa/57741110a65e2f7b074f12c01e5ec809 to your computer and use it in GitHub Desktop.
Save synsa/57741110a65e2f7b074f12c01e5ec809 to your computer and use it in GitHub Desktop.
mass delete public git repos
http https://api.github.com/user/repos "Authorization:token $TOKEN" per_page==100 type==owner | jq '.[].full_name' | xargs -I '{}' http DELETE https://api.github.com/repos/'{}' "Authorization:token $TOKEN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment