Delete flow
delete_live_flowDelete a Power Automate cloud flow. DESTRUCTIVE and not discoverable afterwards. Requires confirmDisplayName (the flow's exact displayName, from get_live_flow) and a reason, which is recorded in the audit log. A deleted flow CAN be restored with restore_live_flow using the flowName returned here. If the id is lost, only an environment admin can recover it — list_live_flows mode=admin includeDeleted=true is the only listing that returns deleted flows. If you only want the flow to stop running, use set_live_flow_state with state=Stopped instead. Works only while the user has Delete Lock off; otherwise the call is refused and nothing is deleted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"environmentName": "<environmentName>",
"flowName": "<flowName>",
"confirmDisplayName": "<confirmDisplayName>",
"reason": "<reason>"
},
"name": "delete_live_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Short note on why this flow is being deleted. Recorded in the audit log. | |
| flowName | Yes | The flow id to delete. | |
| environmentName | Yes | Name of the Power Platform environment. | |
| confirmDisplayName | Yes | The flow's exact displayName, as returned by get_live_flow. Must match, or the call is refused and nothing is deleted. |