Skip to content

Update schedule

PUT
/api/v1/schedules/{id}
curl --request PUT \
--url https://dashboard.justcrawl.io/api/v1/schedules/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "workflowId": "example", "frequency": "every_5_minutes", "cronExpr": "example", "timezone": "example", "tagFilters": [ "example" ], "isEnabled": true }'
id
required
string
Media type application/json
object
name
string
workflowId
string
nullable
frequency
string
Allowed values: every_5_minutes every_10_minutes every_15_minutes every_30_minutes hourly every_2_hours every_3_hours every_4_hours every_6_hours every_8_hours every_12_hours daily weekly monthly custom
cronExpr
string
timezone
string
tagFilters
Array<string>
isEnabled
boolean

Updated schedule

Media type application/json
object
id
string format: uuid
name
string
workflowId
string format: uuid
nullable
tagFilters
Array<string>
frequency
string
Allowed values: hourly daily weekly monthly custom
cronExpr
string
timezone
string
isEnabled
boolean
nextRunAt
string format: date-time
lastRunAt
string format: date-time
nullable
createdAt
string format: date-time
Example
{
"frequency": "hourly"
}