---
title: "Patch Schedule Intervals"
method: PATCH
path: "/manage/schedules"
tags: ["Schedule"]
---

# Patch Schedule Intervals

`PATCH /manage/schedules`

Merge new availability and/or curtailment schedule intervals into the existing stored schedule for a premium resource. Overlapping intervals are replaced (existing intervals are split as needed). The request is all-or-nothing: a validation error in any entry rejects the entire request.

## Request body

- PatchResourceSchedule — Patch Schedule Intervals
  - `resource_id` string, required — The resource id.
  - `availability_schedule` AvailabilityIntervalDto[] — Availability schedule entries to merge.
    - `period_start` string, date-time, nullable — Start of the availability interval in ISO 8601 format.
    - `period_end` string, date-time, nullable — End of the availability interval in ISO 8601 format.
    - `availability` number, double, nullable — Availability percentage for the interval, from 0 to 100.
  - `curtailment_schedule` CurtailmentIntervalDto[] — Curtailment schedule entries to merge.
    - `period_start` string, date-time, nullable — Start of the curtailment interval in ISO 8601 format.
    - `period_end` string, date-time, nullable — End of the curtailment interval in ISO 8601 format.
    - `curtailment` number, double, nullable — Curtailment power cap for the interval in MW.

## Response `200`

OK

- PatchResourceScheduleResponse
  - `response_status` ResponseStatus
    - `error_code` string, nullable
    - `message` string, nullable
    - `stack_trace` string, nullable
    - `errors` ResponseError[], nullable
      - `error_code` string, nullable
      - `field_name` string, nullable
      - `message` string, nullable
      - `meta` object, nullable
    - `meta` object, nullable

---

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