ap_delete_branch
ap_delete_branchDelete a branch from a router step. Cannot delete the fallback branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | The id of the flow | |
| branchIndex | Yes | The index of the branch to delete (0-based). Cannot delete the fallback/last branch. | |
| displayName | No | Short approval prompt shown to the user (e.g. "Delete branch 2 from router"). Must include what the action does and the target name. | |
| routerStepName | Yes | The name of the ROUTER step. Use ap_flow_structure to get valid values. |