---
title: "POST /maintenance"
method: POST
path: "/maintenance"
tags: ["Maintenance"]
---

# POST /maintenance

`POST /maintenance`

Create new maintenance window.

## Request body

- MaintenancePost
  - `description` string, required — Description
  - `from` integer, required — Initial maintenance window start. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
  - `to` integer, required — Initial maintenance window end. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
  - `recurrencetype` 'none' | 'day' | 'week' | 'month' — Type of recurrence.
  - `repeatevery` integer — Repeat every n-th day/week/month
  - `effectiveto` integer — Recurrence end. Format UNIX time. Default: equal to `to`. (Only future allowed. Use 1 for the current timestamp.)
  - `uptimeids` integer[] — Identifiers of uptime checks to assign to the maintenance window - Comma separated Integers
  - `tmsids` integer[] — Identifiers of transaction checks to assign to the maintenance window - Comma separated Integers

## Response `200`

Successful HTTP Response

- MaintenancePostRespAttrs
  - `maintenance` object
    - `id` integer — Unique id of the new maintenance window

---

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