---
title: "PUT /maintenance/{id}"
method: PUT
path: "/maintenance/{id}"
tags: ["Maintenance"]
---

# PUT /maintenance/{id}

`PUT /maintenance/{id}`

Modify the maintenance window.

## Path parameters

- `id` integer, required

## Request body

- MaintenanceIdPut
  - `description` string — Description
  - `from` integer — Initial maintenance window start. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
  - `to` integer — 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

- MaintenanceIdPutRespAttrs
  - `message` string — Modification result description

---

[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)
