Maintenance

Create new maintenance window.

post/maintenance

Request body

descriptionstring required

Description

frominteger required

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

tointeger 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.

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": "New maintenance window.",
  "from": 1500471702,
  "to": 1500475302,
  "recurrencetype": "week",
  "effectiveto": 1500475302,
  "uptimeids": [
    1234567,
    3456789
  ],
  "tmsids": [
    1234567,
    3456789
  ]
}

Response

Successful HTTP Response

Example response

{
  "maintenance": {
    "id": 777
  }
}

Changes

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