---
title: "Update a scheduler by ID"
method: PATCH
path: "/schedulers/{id}"
tags: ["Schedulers"]
---

# Update a scheduler by ID

`PATCH /schedulers/{id}`

## Path parameters

- `id` string, required — Scheduler ID

## Request body

- UpdateSchedulerBody
  - `name` string — Name of the scheduler
  - `startDate` string — Start date (YYYY-MM-DD)
  - `startTime` string — Start time (HH:mm)
  - `timeZone` string — IANA time zone (e.g. "UTC", "Europe/Brussels")
  - `endDate` string, nullable — End date (YYYY-MM-DD). Set to null to unset.
  - `endTime` string, nullable — End time (HH:mm). Set to null to unset.
  - `recurrence` string, nullable — RRULE recurrence string. Set to null to unset.
  - `channelIds` string[] — Channel IDs (deprecated, use channels instead). All engines of each channel are scheduled.
  - `channels` SchedulerChannelSelection[] — Channels with optional engine selection. Use instead of channelIds.
    - `channelId` string, required — Channel ID
    - `engineIds` string[] — Engine IDs of this channel to start/stop. Omit to include all engines of the channel.
  - `enabled` boolean — Whether the scheduler is enabled

## Response `200`

Updated scheduler

- SchedulerObjectResult
  - `data` object, required — Scheduler object
    - `id` string, required — Unique identifier of the scheduler
    - `name` string, required — Name of the scheduler
    - `createdAt` string, required — Creation timestamp
    - `updatedAt` string, required — Last update timestamp
    - `enabled` boolean, required — Whether the scheduler is enabled
    - `startDate` string, required — Start date (YYYY-MM-DD)
    - `startTime` string, required — Start time (HH:mm)
    - `endDate` string — End date (YYYY-MM-DD)
    - `endTime` string — End time (HH:mm)
    - `recurrence` string — RRULE recurrence string
    - `timeZone` string, required — IANA time zone
    - `channelIds` string[], required — Channel IDs
    - `channels` SchedulerChannelSelection[], required — Channels with optional engine selection (engineIds omitted = all engines)
      - `channelId` string, required — Channel ID
      - `engineIds` string[] — Engine IDs of this channel to start/stop. Omit to include all engines of the channel.

---

[API](https://skmtc.net/dolby/apis/theolive-api.md) · [All operations](https://skmtc.net/dolby/apis/theolive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dolby/theolive-api/revisions/3dc30dd23624/schema)
