cURL
curl --request PUT \ --url https://agent-prod.studio.lyzr.ai/v3/workflows/{flow_id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "flow_name": "Updated Workflow Name", "flow_data": { "tasks": [], "default_inputs": {}, "run_name": "Updated Run Name", "edges": [] }, "api_key": "sk-default-JDJARRky2GCw0vlk8ChKglquOkbHmYdK" }'
{ "message": "Workflow updated" }
Update an existing workflow.
ID of the workflow to update.
"e0ab5411-8620-41c0-acdd-bac4c35fc7c0"
Workflow updated successfully
The response is of type object.
object