v2
latestOpenAPI 3.1.02026-08-075421692.0 MBWorkflows
Restore a workflow version
Replace the current graph with the named version's snapshot. Before the swap, the current graph is itself snapshotted as a new version, so a restore is reversible. The workflow must be in draft or paused status (same gate as a normal graph edit). The returned workflow carries restoredFromVersion so the UI can surface which version was rolled back to.
post/v1/workflows/{workflowId}/versions/{version}/restore
Path parameters
workflowIdstring required
versioninteger required
Response
Workflow restored to the named version