workflows
Delete workflow
Permanently delete a workflow and all of its executions.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
workflowIdstring
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.workflows.deleteWorkflow({ path: { workflowId: 'workflow_abc123', },});console.log(data);Empty
{
"error": "Unauthorized"
}{
"error": "Not found"
}Update workflow PATCH
Update name, description, the graph, or reassign to a different account. The graph can only be modified while the workflow is draft or paused. Account swaps re-validate the graph against the new platform (so e.g. moving from WhatsApp to Facebook surfaces a `start_call` node as an error instead of silently saving an unrunnable graph).
Activate workflow POST
Validate the graph is runnable and set the workflow live. Once active, matching inbound messages start executions. Idempotent.