Closing long running micfroflow

Hi all, I would like to build a java action with which I can kill long running microflow. Similar to the button which can be found in de mendix cloud portal. Since we're running in a private cloud, were looking to build a similar functionality. Retrieving the long running querys can be easily done with the runtime api. However, killing the request with the obtained ID from the request above, is a bit harder to find. Can someone point me to the correct documentation/method to make this functionality.  I know it's similar to: Thanks!  
0 answers