Maintenance

Create a new maintenance window

Use this call to create a new maintenance window for the given unit. You can only create maintenances for today and days in the future.<br>You must have at least one of these scopes: 'maintenances.create, maintenances.manage'.

post/operations/v1/maintenances

Headers

Idempotency-Keystring

Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.

Request body

unitIdstring required

The id of the unit

fromstring date-time required

Date and time the maintenance begins. Has to be today or on a day in the future<br />A date and time (without fractional second part) in UTC or with UTC offset as defined in <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO8601:2004</a>

tostring date-time required

Date and time the maintenance ends. Has to be later than from<br />A date and time (without fractional second part) in UTC or with UTC offset as defined in <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO8601:2004</a>

type'OutOfService' | 'OutOfOrder' | 'OutOfInventory' required

The type of maintenance that is planned for the unit. A small repair (OutOfService), a bigger disfunction that does not allow to sell the unit (OutOfOrder) or is it under construction (OutOfInventory)

descriptionstring nullable

Description of the maintenance

Example request

{
  "unitId": "MUC-JQI",
  "from": "2026-09-01T13:48:09+02:00",
  "to": "2026-09-03T13:48:09+02:00",
  "type": "OutOfService",
  "description": "The remote control for the TV needs to be replaced."
}

Response

Creation of the new maintenance was successful.

idstring required

The id for the scheduled maintenance

Example response

{
  "id": "MUC-JQI-SGHZD"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.