---
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
  - `components` ScheduleComponentRequestData[], nullable
    - `id` integer, required
    - `status` 1 | 2 | 3 | 4 | 5, required

## Response `200`

`Schedule`

- object
  - `data` Schedule, required
    - `id` string, required
    - `type` 'schedules', required
    - `attributes` object
      - `id` integer, required
      - `name` string, required
      - `message` string, nullable, required
      - `status` object, required
        - `human` string, required
        - `value` string, required
      - `scheduled` object, required
        - `human` string, required
        - `string` string, required
      - `completed` object, required
        - `human` string, required
        - `string` string, required
      - `created` object, required
        - `human` string, required
        - `string` string, required
      - `updated` object, required
        - `human` string, required
        - `string` string, required
    - `relationships` object
      - `components` object
        - `data` Component[], required
          - `id` string, required
          - `type` 'components', required
          - `attributes` object
            - `id` integer, required
            - `name` string, required
            - `description` string, nullable, required
            - `link` string, nullable, required
            - `order` integer, nullable, required
            - `status` object, required
              - …
            - `enabled` boolean, required
            - `meta` unknown[], nullable, required
              - …
            - `created` object, required
              - …
            - `updated` object, required
              - …
          - `relationships` object
            - `group` object
              - …
            - `incidents` object
              - …
      - `updates` object
        - `data` Update[], required
          - `id` string, required
          - `type` 'updates', required
          - `attributes` object
            - `id` integer, required
            - `updateable_id` integer, required
            - `updateable_type` string, required
            - `message` string, required
            - `status` object
              - …
            - `created` object, required
              - …
            - `updated` object, required
              - …

## Other responses

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

## Changes

- **2025-06-02** `9ad32c73fe39` — 20 breaking, 3 warning
  - the response property `data/attributes/message` became nullable for the status `200`
  - the response property `data/relationships/components/data/items/attributes/description` became nullable for the status `200`
  - the response property `data/relationships/components/data/items/attributes/link` became nullable for the status `200`
  - the response property `data/relationships/components/data/items/attributes/meta` became nullable for the status `200`
  - …19 more
- **2025-05-29** `87e56b3f8fd7` — 3 warning
  - removed the optional property `data/relationships/components/data/items/relationships/group/data/attributes` from the response with the `200` status
  - removed the optional property `data/relationships/components/data/items/relationships/group/data/relationships` from the response with the `200` status
  - removed the optional property `data/relationships/components/data/items/relationships/incidents/data/items/relationships/user/data/attributes` from the response with the `200` status
- **2025-03-10** `1d52bc2c7d18` — 1 breaking
  - the `scheduled_at` request property type/format changed from `string, null`/`` to `string, null`/`date-time`

[Change 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/9ad32c73fe39/schema)
