github bulk delete private repo under the organization

1) go to github generation token
github-> SETTINGS-> Developer SETTINGS-> Personal Access tokens-> the Generate new new token
2) Next, touch a file repos, will be deleted Warehouse Write
Example:
Org1 / the Test
3) executed command to delete the warehouse
the while the Read r; do -XDELETE curl -H 'the Authorization: token xxxxxxxxxxxxxx' "https://api.github.com/repos/$r"; DONE <Repos
4) Log github, view the audit log, you can see to delete the action, and finally in the organization, to retrieve deleted warehouse, it should be gone.

Guess you like

Origin www.cnblogs.com/ccielife/p/12123375.html
Recommended