v1
latestOpenAPI 3.1.02026-07-22106199311.5 KBSchedules
Update the schedule by the given schedule id and schedule request
An endpoint for updating the schedule for the given schedule id and schedule request
patch/v1/projects/{projectId}/schedules/{scheduleId}
Path parameters
projectIdstring uuid required
scheduleIdstring uuid required
Request body
Example request
{
"cronExpression": "0 * * ? * * *",
"cronTimezone": "Europe/Dublin",
"effectiveFrom": "2022-05-19T11:37:44.024Z",
"name": "Nightly database backup"
}Response
Schedule updated successfully
Example response
{
"cronExpression": "0 * * ? * * *",
"cronTimezone": "Europe/Dublin",
"effectiveFrom": "2022-05-19T12:37:44.000Z",
"environmentName": "Dev Environment",
"gridVariables": {
"grid1": [
[
"col1",
"col2",
"col3"
],
[
"col1a",
"col2a",
"col3a"
]
]
},
"lastRunAt": "2022-06-30T01:14:00.000Z",
"name": "Nightly database backup",
"nextRunAt": "2022-06-30T01:15:00.000Z",
"pipelineName": "Nightly database backup",
"scalarVariables": {
"variable1": "value1",
"variable2": "value2"
},
"scheduleId": "a2239897-51f8-4c09-83ab-0b2c28bd5a37",
"versionName": "1.2.0"
}