v2

latestOpenAPI 3.0.02026-08-013312111.4 MB
Pipelines

Update a schedule

Update a schedule.

put/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

schedule_uuidstring required

The uuid of the schedule.

Request body

typestring required
enabledboolean

Whether the schedule is enabled.

Response

The schedule is updated.

typestring required
uuidstring

The UUID identifying the schedule.

enabledboolean

Whether the schedule is enabled.

cron_patternstring

The cron expression with second precision (7 fields) that the schedule applies. For example, for expression: 0 0 12 * * ? *, will execute at 12pm UTC every day.

created_onstring date-time

The timestamp when the schedule was created.

updated_onstring date-time

The timestamp when the schedule was updated.