title: How to stop a build that is currently running/being executed?
body: <p>I am trying to stop Bamboo builds (that are currently running) if they pass a certain use case. </p>
  
  <p>I have a list of the builds that I need to stop. Now, I want to send a REST request to stop the build(s) very similar to the "Stop Build" button that is on the top right of a build (see image). 
  <a href="https://i.stack.imgur.com/Z92jo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z92jo.png" alt="enter image description here"></a></p>
  
  <p>In the REST API documentation I have only seen this which only stops the build if it is queued. </p>
  
  <p><a href="https://docs.atlassian.com/bamboo/REST/3.3-SNAPSHOT/" rel="nofollow noreferrer">https://docs.atlassian.com/bamboo/REST/3.3-SNAPSHOT/</a></p>
  
  <pre><code>/queue/{projectKey}-{buildKey}-{buildNumber}
  </code></pre>
  
  <p>Stop build execution, however only if build has not been started yet - so if is waiting in the build queue. If build does not exist in the queue anymore, method has no effect.</p>
  
  <p>I need a way to stop <strong>RUNNING</strong> builds.</p>