v1

latestOpenAPI 3.0.02026-07-133916139.4 KB
maintenance

Update a maintenance

put/maintenance/{id}

Path parameters

idstring required

The id of the maintenance

Example:1

The id of the maintenance

Request body

titlestring

The title of the maintenance

messagestring

The message describing the maintenance

fromstring date nullable

When the maintenance starts

tostring date nullable

When the maintenance ends

monitorIdsnumber[]

IDs of affected monitors

pageIdnumber

The id of the status page this maintenance belongs to

Example request

{
  "title": "Database Upgrade",
  "message": "Upgrading database to improve performance"
}

Response

Update a maintenance

idnumber required

The id of the maintenance

titlestring required

The title of the maintenance

messagestring required

The message describing the maintenance

fromstring date nullable required

When the maintenance starts

tostring date nullable required

When the maintenance ends

monitorIdsnumber[]

IDs of affected monitors

pageIdnumber required

The id of the status page this maintenance belongs to

Example response

{
  "id": 1,
  "title": "Database Upgrade",
  "message": "Upgrading database to improve performance"
}