Create Maintenance

POST {{batmanURL}}/v4/statuspages/:statuspageID/maintenance

Add maintenence for components of a status page.

Request Body

{"title"=>"example maintenance", "note"=>"api doc", "components"=>[2172], "startTime"=>"2023-08-25T18:30:00Z", "endTime"=>"2023-08-26T18:30:00Z"}

RESPONSES

status: OK

{"data":{"id":32,"title":"example maintenance","pageID":906,"note":"api doc","components":[2172],"startTime":"2023-08-25T18:30:00Z","endTime":"2023-08-26T18:30:00Z"}}