Workflows
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.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
workflowId*string
version*integer
Response Body
application/json
application/json
application/json
{ "success": true, "workflow": { "id": "string", "name": "string", "description": "string", "status": "string", "entryNodeId": "string", "nodeCount": 0, "updatedAt": "2019-08-24T14:15:22Z" }, "restoredFromVersion": 0}Was this page helpful?