maintenance-window

Create one or more maintenance windows (admin/superadmin)

Changed on
post/maintenance-window

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/maintenance-window
  • Auth
    HTTP bearer

Request body

monitorsstring[] required
namestring required
activeboolean
durationnumber required
durationUnit'seconds' | 'minutes' | 'hours' | 'days' required
startstring date-time nullable required
endstring date-time nullable required
repeatnumber required
expirystring date-time nullable

Response

OK

successtrue required
msgstring required

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • warning

      removed the optional property from the response with the status