curl --request POST \
--url https://v2-nova-api.prod.czmx.in/org/{org_id}/workflows/{workflow_id}/restore/{version}{
"created_at": "<string>",
"definition": [
123
],
"description": "<string>",
"id": "<string>",
"is_active": true,
"name": "<string>",
"published_at": "<string>",
"trigger_type": "<string>",
"updated_at": "<string>",
"version": 123
}Restore a previous version by creating a new version with the old definition
curl --request POST \
--url https://v2-nova-api.prod.czmx.in/org/{org_id}/workflows/{workflow_id}/restore/{version}{
"created_at": "<string>",
"definition": [
123
],
"description": "<string>",
"id": "<string>",
"is_active": true,
"name": "<string>",
"published_at": "<string>",
"trigger_type": "<string>",
"updated_at": "<string>",
"version": 123
}Organization ID
Workflow ID
Version number to restore