Schedule a drafted maintenance window
schedule_maintenanceUse this when the user has approved a draft_maintenance draft. Schedules it as the dashboard's Maintenance page does: it shows on the status pages, and subscribers are emailed only if the draft said so. Returns the window and its id. Safe to repeat: the same draft id schedules once. Not for changing a window already scheduled: update_maintenance moves, extends, renames or ends it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | The plan's confirm sentence, exactly as returned; show it to the user first. | |
| draft_id | Yes | The draft's id from draft_maintenance (it starts with pl_). |