Start, schedule, end or remove maintenance on a host
POST/plugin-api/automations/maintenance/:hostId
While a host is in maintenance, automations with host status, health check, metric, Docker or tunnel triggers do not fire for it. Manual, scheduled, webhook and login triggers still run. Past the estimated end plus the grace period, an optional overdue alert is sent.
Request
Responses
- 200
- 400
- 403
- 404
The new maintenance state.
Invalid action or plan.
The host was shared with the caller; only its owner can change maintenance.
A host the caller cannot see.