---
title: "Schedule a maintenance window"
method: POST
path: "/api/v1/maintenance"
tags: ["monitors"]
---

# Schedule a maintenance window

`POST /api/v1/maintenance`

## Request

- Base URL: `https://puzaricloud.in` (the document declares no server; this is the origin it was published from)
- URL: `https://puzaricloud.in/api/v1/maintenance`
- Auth: none declared

## Request body

- MaintenanceIn
  - `name` string, required
  - `starts_at` string, date-time, required
  - `ends_at` string, date-time, required
  - `monitor_ids` integer[]
  - `repeat` string

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/puzaricloud/apis/vigil-api.md) · [All operations](https://skmtc.dev/puzaricloud/apis/vigil-api/llms.txt) · [OpenAPI document](https://skmtc.dev/puzaricloud/apis/vigil-api/revisions/1cb93f81f1a7?raw)
