Use with caution! By default the github token created with usethis::create_github_token()
does not allow this functionality. You must create your own PAT that has the
appropriate permissions to delete repositories.
gh_repos_delete(path, ...)
path | GitHub repo path of the form "username/repo". If not provided, will default to current repo. |
---|---|
... | Additional parameters, see https://docs.github.com/en/rest |
NA; used for side effects to delete a repository from GitHub.
Other Repositories:
gh_repos_create()
,
gh_repos_delete_internal()
,
gh_repos_list()
,
gh_repos_mutate()