Skip to content

Instantly share code, notes, and snippets.

@pmgarman
Created July 19, 2013 09:55
Show Gist options
  • Save pmgarman/6038048 to your computer and use it in GitHub Desktop.
Save pmgarman/6038048 to your computer and use it in GitHub Desktop.
remove repo access from NinjaPanel authorizations
// Both requests will ask your password, you know what to do.
// First list all your github authorizations, you will see everything you've authorized what you need is the ID of the app named "WooNinja Panel" - then run the second command after entering the authorization ID
curl https://api.github.com/authorizations -u YOURGITHUBUSERNAME
curl --request PATCH -d '{"remove_scopes":["repo"]}' https://api.github.com/authorizations/THEIDOFTHEAUTHORIZATION -u YOURGITHUBUSERNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment