Missed Team ’24? Catch up on announcements here.

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

Why repo that have been moved to a new project can be removed via API?

Alvaro Linares Cabré
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 5, 2021

Hi,

I will try to be as simple as possible in my explanation ... Suppose I have a repository X in Project A and I move it to Project B, so far no problem ... BUT if attacking the API with curl it deleted repo X BUT in project A it's deleted the repo X even though it is in Project B ...

I do not know why????

The curl command that I am using is the following:

curl -s -o / dev / null -w '% {http_code}' -L -k -X DELETE -u user:pass "https://bitbucket.xxx.com/bitbucket/rest/ api / 1.0 / projects / PROYECT_A / repos / my_repo

 

Thank you very much for the help

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events