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

Bamboo REST API to delete release

Vetrivel October 8, 2018

REST API Reference -

I tried to find the API to delete a release. I am trying to delete a release which I do normally from the UI as shown in below pic, instead I would like to achieve the same using some end point.Screen Shot 2018-10-08 at 8.48.37 PM.png

1 answer

1 accepted

2 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2018

Hello @Vetrivel,

I am afraid there is no API available for deleting a release. Instead, you could call the action behind the "Delete release" action in screenshot provided:

# replace {username}
# replace {versionId}, e.g 1245185
# replace http://localhost:8085 with URL to access Bamboo

curl -k -u {username} \
     -H 'X-Atlassian-Token: no-check' \
     -H 'Accept: application/json' \
     -H 'Content-Type: application/x-www-form-urlencoded' \
     -d 'confirm=true&bamboo.successReturnMode=json&versionId={versionId}' \
     -X POST 'http://localhost:8085/deploy/deleteDeploymentVersion.action'

Kind regards,


Vetrivel October 11, 2018

Thanks @rsperafico

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events