Is there a way in REST API to delete build result by build ID? I can't see endpoint like this:
DELETE /api/latest/result/{projectKey}-{buildKey}-{buildNumber}
Hello @wareczek
Deleting build results through the REST API is yet to be implemented in Bamboo.
Please use the following HTML form to accomplish the same task:
$ curl -u admin_user:admin_pass \
-H 'content-type: application/x-www-form-urlencoded' \
-H 'x-requested-with: XMLHttpRequest' \
-H 'x-atlassian-token: no-check' \
-d 'buildKey=<PLAN_KEY>&buildNumber=<BUILD_NUMBER>' \
'https://bamboo.mydomain.net/build/admin/deletePlanResults.action'
Note: This is an HTML form. It may change over releases, meaning it may not work in future versions of Bamboo.
Kind regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.