How to delete a GitHub repo using the API
If you created the token you’re using through the Applications page, then this token will have these scopes: user, public_repo, repo, gist. You can verify this by making an API request with that token and looking at the response HTTP headers: curl -v -H ‘Authorization: token xxx’ https://api.github.com Look for the X-OAuth-Scopes response header which … Read more