curl --request POST \
--url https://api.kaizenautomation.com/workflows/update \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "<string>",
"name": "Updated Workflow Name",
"isAuthenticationRequired": false,
"autoSaveEnabled": true,
"timeoutMs": 1800000,
"shouldPauseOnError": false,
"model": "gpt-4.1-mini-2025-04-14",
"webhookUrls": [
"https://example.com/webhook1",
"https://example.com/webhook2"
]
}'
{
"id": "<string>",
"name": "<string>",
"isAuthenticationRequired": true,
"autoSaveEnabled": true,
"timeoutMs": 1800000,
"shouldPauseOnError": false,
"model": "gpt-4.1-mini-2025-04-14",
"message": "Workflow updated successfully"
}
Updates workflow fields like name and authentication requirement
curl --request POST \
--url https://api.kaizenautomation.com/workflows/update \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "<string>",
"name": "Updated Workflow Name",
"isAuthenticationRequired": false,
"autoSaveEnabled": true,
"timeoutMs": 1800000,
"shouldPauseOnError": false,
"model": "gpt-4.1-mini-2025-04-14",
"webhookUrls": [
"https://example.com/webhook1",
"https://example.com/webhook2"
]
}'
{
"id": "<string>",
"name": "<string>",
"isAuthenticationRequired": true,
"autoSaveEnabled": true,
"timeoutMs": 1800000,
"shouldPauseOnError": false,
"model": "gpt-4.1-mini-2025-04-14",
"message": "Workflow updated successfully"
}
Workflow updated successfully
The response is of type object
.