cURL
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 } '
204 No Content
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 }'