Skip to main content

Edit a workflow with granular operations

PATCH 

/v1/workflows/:workflow_id

Apply granular edit operations to an existing workflow instead of resubmitting its whole spec.

Send an operations array. The supported operations are add_node, set_config, connect, disconnect, remove_node, rename_node, set_description and set_variable, and node references accept either an id or an alias. The service loads the current definition, applies your operations, validates the result, and saves through the builder path — refusing to persist a workflow left with blocking errors.

The workflow's active state is preserved across the edit. Requires the workflows:author scope.

Request

Responses

Successful Response