v1

latestOpenAPI 3.0.3MIT2026-07-1411163326.7 KB
Schedule

Update a schedule

Updates a schedule and returns the updated schedule. Available only on schedules associated with GitHub OAuth or Bitbucket Cloud pipeline definitions. To update schedule triggers for GitHub App pipeline definitions, use the Update trigger endpoint.

patch/schedule/{schedule-id}

Path parameters

schedule-idstring uuid required

The unique ID of the schedule.

Request body

descriptionstring

Description of the schedule.

namestring

Name of the schedule.

attribution-actor'current' | 'system'

The attribution-actor of the scheduled pipeline.

parametersobject

Pipeline parameters represented as key-value pairs. Must contain branch or tag.

Example request

{
  "attribution-actor": "current",
  "parameters": {
    "deploy_prod": true,
    "branch": "feature/design-new-api"
  }
}

Response

A schedule object.

idstring uuid required

The unique ID of the schedule.

updated-atstring date-time required

The date and time the pipeline was last updated.

namestring required

Name of the schedule.

created-atstring date-time required

The date and time the pipeline was created.

project-slugstring required

The project-slug for the schedule

parametersobject required

Pipeline parameters represented as key-value pairs. Must contain branch or tag.

descriptionstring required

Description of the schedule.

Example response

{
  "project-slug": "gh/CircleCI-Public/api-preview-docs",
  "parameters": {
    "deploy_prod": true,
    "branch": "feature/design-new-api"
  }
}