---
title: "Update Maintenance Window"
method: PATCH
path: "/v1/maintenance-windows/{window_id}"
tags: ["Maintenance Windows"]
---

# Update Maintenance Window

`PATCH /v1/maintenance-windows/{window_id}`

## Request

- Base URL: `https://api.fettle.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fettle.sh/v1/maintenance-windows/{window_id}`
- Auth: API key in header `Authorization`

Update fields on a maintenance window.

## Path parameters

- `window_id` string, uuid, required

## Headers

- `X-Organization-Id` string, uuid, nullable

## Request body

- MaintenanceWindowUpdate: Partial update payload — every field optional.
  - `name` string, nullable
  - `enabled` boolean, nullable
  - `scope` 'MONITOR' | 'ORG': What a window targets. ``ORG`` covers every monitor in the org; ``MONITOR`` covers the explicitly linked monitors only.
  - `dtstart` string, date-time, nullable
  - `duration_minutes` integer, nullable
  - `rrule` string, nullable
  - `timezone` string, nullable
  - `monitor_ids` string[], nullable

## Response `200`

Successful Response

- MaintenanceWindowRead: Response model for a maintenance window.
  - `id` string, uuid, required
  - `name` string, required
  - `enabled` boolean, required
  - `scope` 'MONITOR' | 'ORG', required: What a window targets. ``ORG`` covers every monitor in the org; ``MONITOR`` covers the explicitly linked monitors only.
  - `dtstart` string, date-time, required
  - `duration_minutes` integer, required
  - `rrule` string, nullable, required
  - `timezone` string, required
  - `monitor_ids` string[]
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fettle/apis/fettle-sh.md) · [All operations](https://skmtc.dev/fettle/apis/fettle-sh/llms.txt) · [OpenAPI document](https://skmtc.dev/fettle/apis/fettle-sh/revisions/f32c8a18606f?raw)
