API: host-maintenance
GET /api/hosts/{host_id}/maintenance#
Status
Permission maintenance.read (look)
Parameters
host_id * | path | string (uuid) |
Response 200
POST /api/hosts/{host_id}/maintenance/{operation_id}/acknowledge#
Acknowledge
Permission maintenance.plan (prepare)
Parameters
host_id * | path | string (uuid) | |
operation_id * | path | string (uuid) |
Request body Acknowledge
Show 1 fields
| Field | Type | Notes |
|---|---|---|
confirm_name * | string | minLength 1, maxLength 120 |
Response 200
POST /api/hosts/{host_id}/maintenance/{operation_id}/cancel#
Cancel
Escape hatch for an operation whose claimed target state never became true (e.g. OPNsense's CARP maintenance toggle accepted the request but the role switch itself never completed). Unlike acknowledge, this does NOT assert success — it only closes the record so the host/cluster stops being blocked, and requires a human-written reason for the audit trail.
Permission maintenance.plan (prepare)
Parameters
host_id * | path | string (uuid) | |
operation_id * | path | string (uuid) |
Request body Cancel
Show 2 fields
| Field | Type | Notes |
|---|---|---|
confirm_name * | string | minLength 1, maxLength 120 |
reason * | string | minLength 3, maxLength 500 |
Response 200
POST /api/hosts/{host_id}/maintenance/carp-execute#
Carp Execute
Permission maintenance.execute (roll out)
Parameters
host_id * | path | string (uuid) |
Request body Execute
Show 4 fields
| Field | Type | Notes |
|---|---|---|
acknowledge_downtime * | boolean | |
auto_revert_minutes | integer | null | |
confirm_name * | string | minLength 1, maxLength 120 |
preview_id * | string (uuid) |
Response 200
POST /api/hosts/{host_id}/maintenance/carp-preview#
Carp Preview
Permission maintenance.plan (prepare)
Parameters
host_id * | path | string (uuid) |
Response 200
POST /api/hosts/{host_id}/maintenance/check-updates#
Check Updates
Permission maintenance.plan (prepare)
Parameters
host_id * | path | string (uuid) |
Response 202
POST /api/hosts/{host_id}/maintenance/execute#
Execute
Permission maintenance.execute (roll out)
Parameters
host_id * | path | string (uuid) |
Request body Execute
Show 4 fields
| Field | Type | Notes |
|---|---|---|
acknowledge_downtime * | boolean | |
auto_revert_minutes | integer | null | |
confirm_name * | string | minLength 1, maxLength 120 |
preview_id * | string (uuid) |
Response 200
POST /api/hosts/{host_id}/maintenance/preview#
Preview
Permission maintenance.plan (prepare)
Parameters
host_id * | path | string (uuid) |
Request body app__routers__maintenance__Preview
Show 1 fields
| Field | Type | Notes |
|---|---|---|
action * | "reboot" | "update" | "major_update" | "firmware_rollback" |
Response 200
GET /api/hosts/{host_id}/maintenance/progress#
Progress
Permission maintenance.read (look)
Parameters
host_id * | path | string (uuid) |
Response 200
GET /api/hosts/{host_id}/maintenance/schedule#
List Scheduled
Permission maintenance.read (look)
Parameters
host_id * | path | string (uuid) |
Response 200
POST /api/hosts/{host_id}/maintenance/schedule#
Create Scheduled
Permission maintenance.execute (roll out)
Parameters
host_id * | path | string (uuid) |
Request body Schedule
Show 5 fields
| Field | Type | Notes |
|---|---|---|
acknowledge_unattended * | boolean | |
action * | "reboot" | "update" | "major_update" | |
auto_verify | boolean | default: false |
carp_handover | boolean | default: false |
run_at * | string (date-time) |
Response 200
DELETE /api/hosts/{host_id}/maintenance/schedule/{schedule_id}#
Cancel Scheduled
Permission maintenance.execute (roll out)
Parameters
host_id * | path | string (uuid) | |
schedule_id * | path | string (uuid) |