Downtime endpoint request details
URL: /rest/downtime
- GET - lists downtime
- POST - sets downtime
- DELETE - cancels downtime (if running) or deletes (if not yet started)
- PUT - not implemented
Access Control
Requires DOWNTIMESOME access - this allows setting of downtime to host or services based on the access object permissions.
Note: If a user has access to some, but not all, services on a host and sets downtime for the host, then all services on the host will also be marked in downtime. This means it is possible that a downtime has been set on a service by a user that does not have view access for it.