---
title: "Update Schedule"
method: PUT
path: "/schedules/{schedule}"
tags: ["Schedules"]
---

# Update Schedule

`PUT /schedules/{schedule}`

## Path parameters

- `schedule` integer, required

## Request body

- UpdateScheduleRequestData
  - `name` string, nullable
  - `message` string, nullable
  - `status` 0 | 1 | 2
  - `scheduled_at` string, date-time, nullable
  - `completed_at` string, date-time, nullable
  - `components` ScheduleComponentRequestData[], nullable
    - `id` integer, required
    - `status` 1 | 2 | 3 | 4 | 5 | 6, required

## Response `200`

`Schedule`

## Other responses

- `401` — Unauthenticated
- `403` — Authorization error
- `404` — Not found
- `422` — Validation error

## Changes

- **2026-07-10** `4e4308be5bcf` — 13 breaking, 8 info
  - removed the enum value `1` of the request property `components/items/status`
  - removed the enum value `2` of the request property `components/items/status`
  - removed the enum value `3` of the request property `components/items/status`
  - removed the enum value `4` of the request property `components/items/status`
  - …17 more
- **2026-06-26** `b7fcc33d06e5` — 7 breaking, 6 info
  - removed the enum value `1.00` of the request property `components/items/status`
  - removed the enum value `2.00` of the request property `components/items/status`
  - removed the enum value `3.00` of the request property `components/items/status`
  - removed the enum value `4.00` of the request property `components/items/status`
  - …9 more
- **2026-06-18** `1584b3ec7df7` — 1 info
  - added the new optional request property `completed_at`
- **2026-05-09** `64c2a336b25f` — 1 warning
  - removed the request property `status`
- **2025-12-02** `b912f4471de4` — 1 info
  - added the non-success response with the status `403`

[Full history](https://skmtc.dev/cachethq/apis/cachet/changes/schedules/:schedule/put.md)

---

[API](https://skmtc.dev/cachethq/apis/cachet.md) · [All operations](https://skmtc.dev/cachethq/apis/cachet/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cachethq/cachet/revisions/4e4308be5bcf/schema)
