Skip to main content
PUT
/
workflows
/
{workflow_id}
Update Workflow
curl --request PUT \
  --url https://api.example.com/workflows/{workflow_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "payload": "<string>",
  "interval": 123,
  "max_consecutive_job_failures_allowed": 123
}
'
Updates an existing workflow’s configuration.

Path Parameters

workflow_id
string
required
Unique identifier of the workflow to update

Request Body

name
string
required
Updated name of the workflow
payload
string
required
Updated JSON string containing the workflow payload configuration
interval
integer
required
Updated execution interval measured in minutes
max_consecutive_job_failures_allowed
integer
required
Updated maximum number of consecutive job failures allowed

Response

Returns 204 No Content on success.

Example Request

curl -X PUT https://api.chronoverse.com/workflows/wf_1234567890abcdef \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Daily Data Sync - Updated",
    "payload": "{\"source\":\"database\",\"destination\":\"s3\",\"compression\":true}",
    "interval": 720,
    "max_consecutive_job_failures_allowed": 5
  }'

Build docs developers (and LLMs) love