Pause a schedule

Pauses an active schedule so that it stops generating new occurrences. Existing occurrences are not affected. Optionally pause only the sub-schedules for specific sites or assets by setting sites or assets. The schedule can be resumed later via the Resume schedule endpoint.

Pauses an active schedule so that it stops generating new occurrences. Existing occurrences are not affected. The schedule can be resumed later via Resume a schedule. However, you cannot pause or resume a schedule that has already ended.

Pause sub-schedules

By default, the whole schedule pauses. To pause only part of a schedule, include a target in the request body.

OptionDescription
No targetPauses the schedule and all of its sub-schedules.
sitesPauses only the sub-schedules for the given sites. Accepts 1-10,000 site IDs.
assetsPauses only the sub-schedules for the given assets. Accepts 1-10,000 asset IDs.

Set only one of sites or assets. The option must match the schedule's own target type.

If you pause the last active sub-schedule, the schedule itself also pauses.

Requirements

Path Params
string
required

Unique ID of the schedule to pause.

Body Params
sites
object

Sites to pause.

assets
object

Assets to pause.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json