create_maintenance_window
Schedule a maintenance window. duration_seconds is 60 through 7 days. Pass both the check (endpoint_ids) and its public component (status_components) so probes pause and the page shows Under maintenance. notify_subscribers defaults to false. Set it true only when the user asked to email subscribers. This can email subscribers, so run only when the user asked to schedule this window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| timezone | Yes | ||
| weekdays | No | ||
| starts_at | Yes | ||
| endpoint_ids | No | ||
| duration_seconds | Yes | ||
| status_components | No | ||
| notify_subscribers | No |