The repository owner and repository admins can delete a repository. The owner is the account that created the repository. Deleting a repository permanently removes it from Bitbucket. As a consequence, any URL referencing this repository no longer works. To delete a repository:
- Log into your Bitbucket account.
- Navigate to the repository you want to delete.
- Click the repository's settings icon (far right-hand side of screen).
Choose Delete Repository from the left-hand navigation.
The system displays the deletion dialog.
- (Optional) Enter a URL in the Redirect to field.
Future users who try to access your repository are sent to this new URL.
- Press Delete repository.
Removing a Redirect
Right now, there is no way to edit or remove an existing redirect. The current work around is to create a new repository with the same name as the one which you redirected. Then, delete this new repository without providing a redirect URL. Alternatively, you can speciy a new URL for redirect.