v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Maintenance

Modify the maintenance window.

put/maintenance/{id}

Path parameters

idinteger required

id of maintenance window

Request body

descriptionstring

Description

frominteger

Initial maintenance window start. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)

tointeger

Initial maintenance window end. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)

recurrencetype'none' | 'day' | 'week' | 'month'

Type of recurrence

repeateveryinteger

Repeat every n-th day/week/month

effectivetointeger

Recurrence end. Format UNIX time. Default: equal to to. (Only future allowed. Use 1 for the current timestamp.)

uptimeidsinteger[]

Identifiers of uptime checks to assign to the maintenance window - Comma separated Integers

tmsidsinteger[]

Identifiers of transaction checks to assign to the maintenance window - Comma separated Integers

Example request

{
  "description": "Modified maintenance window",
  "from": 1500471702,
  "to": 1500475302,
  "recurrencetype": "week",
  "effectiveto": 1500475302,
  "uptimeids": [
    1234567,
    3456789
  ],
  "tmsids": [
    1234567,
    3456789
  ]
}

Response

Successful HTTP Response

messagestring

Modification result description

Example response

{
  "message": "Maintenance window successfully modified!"
}