Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to delete a project in bitbucket

Sanat Gupta May 8, 2021

hi i am new to bitbucket and wanted to know is there a way to delete a project in bitbucket

3 answers

1 accepted

1 vote
Answer accepted
G subramanyam
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 9, 2021

Hi @Sanat Gupta welcome to the Atlassian community.

In order to delete a project, you first need to delete all the repositories pertaining to that project. Only then you would see the "Delete button".

Here are the related links to refer before you delete the repositories:

https://support.atlassian.com/bitbucket-cloud/docs/delete-a-repository/

https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-delete-a-project-not-just-a-repository-in-BitBucket/qaq-p/901241

https://community.atlassian.com/t5/Bitbucket-questions/Cant-delete-Project-that-has-no-Repositories/qaq-p/1535991

Stay safe and stay healthy.

Sanat Gupta May 9, 2021

thank you very much

Like G subramanyam likes this
Knut W_ June 21, 2022

@G subramanyam I have two projects, both of them are empty (all repositories are deleted). But when I try to delete the project nothing happens (no error, nothing!).

In the Web developer console (Firefox) I see a 403 response:

`{"type":"error","error":{"message":"Non-empty project deletion forbidden","detail":"Please make sure that the project is empty before deleting it."}}`

But as already mentioned there's no repo any more :(

What can I do?

 

P.S.: One of the projects had a few Mercurial repos that I never deleted, but that are now invisible. Nevertheless I should be able to delete a project with all it repos (visible or not) at once.

0 votes
maq malik May 9, 2021

Yes you can delete it 

following step are 

  1. Log into your Bitbucket account.
  2. Navigate to the repository you want to delete.
  3. Click the repository's settings icon.
  4. Choose Delete Repository from the left-hand navigation. ...
  5. (Optional) Enter a URL in the Redirect to field. ...
  6. Press Delete repository.
  7. further you can follow it

refference:

https://stackoverflow.com/questions/6870144/how-do-you-delete-a-fork-on-bitbucket

0 votes
Sagar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2021

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events