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 AlvarengaAtlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
It looks like you're new here. Sign in or register to get started.