Replace workflow
documentedReplace an existing workflow (alternative to PATCH for updates). ([docs.n8n.io](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.n8n/?utm_source=openai))
PUT /workflows/{workflow_id}Workflowsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$domain}}/rest/workflows/{{$workflow_id}}" \
-X PATCH \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-N8N-API-KEY: {{N8N_API_KEY}}" \
-d '{"name": "{{$name}}", "nodes": {{$nodes}}, "connections": {{$connections}}, "settings": {{$settings}}, "staticData": {{$staticData}}, "tags": {{$tags}}, "active": {{$active}} }'