curl --request PUT \
--url https://api.example.com/api/pipeline_schedules/:id \
--header 'Content-Type: application/json' \
--data '
{
"pipeline_schedule": {
"event_matchers": {},
"name": "<string>",
"schedule_interval": "<string>",
"schedule_type": "<string>",
"settings": {},
"sla": 123,
"start_time": {},
"status": "<string>",
"variables": {}
}
}
'curl --request PUT \
--url 'http://localhost:6789/api/pipeline_schedules/55?api_key=zkWlN0PkIKSN0C11CfUHUj84OT5XOJ6tDZ6bDRO2' \
--header 'OAUTH-TOKEN=some_really_long_string' \
--data '{
"pipeline_schedule": {
"name": "black voice11111",
"schedule_type": "time",
"event_matchers": [],
"schedule_interval": "@once",
"start_time": "2023-03-06 04:53:00",
"variables": {
"env": "dev112222",
"test": 11111
},
"sla": 1000,
"settings": {
"allow_blocks_to_fail": true,
"create_initial_pipeline_run": false,
"skip_if_previous_running": true
}
}
}'
{
"pipeline_schedule": {
"id": 55,
"created_at": "2023-03-08 04:52:54.268096+00:00",
"updated_at": "2023-04-01 00:52:11.753497+00:00",
"name": "black voice11111",
"pipeline_uuid": "example_pipeline",
"schedule_type": "time",
"start_time": "2023-03-06 04:53:00+00:00",
"schedule_interval": "@once",
"status": "inactive",
"variables": {
"env": "dev112222",
"test": 11111
},
"sla": 1000,
"token": "67d62ed3e66143839f58945bb7d16387",
"settings": {
"allow_blocks_to_fail": true,
"create_initial_pipeline_run": false,
"skip_if_previous_running": true
},
"event_matchers": []
}
}
Was this page helpful?
curl --request PUT \
--url https://api.example.com/api/pipeline_schedules/:id \
--header 'Content-Type: application/json' \
--data '
{
"pipeline_schedule": {
"event_matchers": {},
"name": "<string>",
"schedule_interval": "<string>",
"schedule_type": "<string>",
"settings": {},
"sla": 123,
"start_time": {},
"status": "<string>",
"variables": {}
}
}
'