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}
Request
- Base URLhttps://circleci.com/api/v2
- URLhttps://circleci.com/api/v2/schedule/{schedule-id}
- Auth
- API key in header Circle-Token
- or HTTP bearer
- or HTTP basic
- or API key in query parameter circle-token
Path parameters
schedule-idstring uuid required
The unique ID of the schedule.
Request body
Example request
{
"attribution-actor": "current",
"parameters": {
"deploy_prod": true,
"branch": "feature/design-new-api"
}
}Response
A schedule object.
Example response
{
"project-slug": "gh/CircleCI-Public/api-preview-docs",
"parameters": {
"deploy_prod": true,
"branch": "feature/design-new-api"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.