How do I delete a repository? “Delete this repository” button is missing #175250
Select Topic AreaQuestion BodyHi all — I’m trying to delete one of my repositories but I can’t find the Delete this repository option. What I expected What I actually see Context What I’ve tried |
Replies: 2 comments 1 reply
|
Why the button can be missing ✌️ You don’t have enough permission on the repo. Personal account repo: only the repository owner can delete. Collaborators can’t. Organization repo: you need Admin role on that repo and org policy must allow admins to delete; otherwise only org owners can delete. Org policy blocks deletion. You’re not actually on the repo’s General → Danger Zone page. Rare browser/UI oddities. |
Why the button can be missing ✌️
You don’t have enough permission on the repo.
Personal account repo: only the repository owner can delete. Collaborators can’t.
Organization repo: you need Admin role on that repo and org policy must allow admins to delete; otherwise only org owners can delete.
GitHub Docs
Org policy blocks deletion.
Org owners can restrict deletion to owners only (disabling the delete option for non-owners even if they’re Admins).
You’re not actually on the repo’s General → Danger Zone page.
The button lives at Settings → General → Danger Zone for the specific repository. (Easy to miss if you’re in org settings or a different tab.)
Rare browser/UI oddities.