Are you drowning in a sea of Power Automate flow runs that need to be canceled? This solution will save you a huge amount of time and frustration. Learn how to effortlessly cancel hundreds of Power Automate flow runs with just one straightforward flow.
Code used in the video:
Base Source URL: https://api.flow.microsoft.com/
Azure AD Resource URI: https://service.flow.microsoft.com/
URL of the request: https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments/ENVIRONMENTID/flows/FLOWID/runs?api-version=2016-11-01&$filter=Status eq ‘running’
(Replace EnvironmentID and FlowID with the Manual Trigger inputs)