Server updates, services and tuning
16 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| PUT | /api/v1/tenants/{tid}/servers/{id}/maintenance | Turn maintenance on (with a note) or off (empty note); the server takes nothing new while on (ADR 0052) |
| GET | /api/v1/tenants/{tid}/servers/{id}/orphan-folders | Website folders on the server the panel has no record of (no site, deleted or not, and no retention row), with size and file count; provider only (R22, ADR 0105) |
| POST | /api/v1/tenants/{tid}/servers/{id}/orphan-folders/remove 202 | Queue the removal of one website folder the panel has no record of; its name typed in confirm; provider only; audited server.site_folder_orphan_remove (R22, ADR 0105) |
| GET | /api/v1/tenants/{tid}/servers/{id}/services | The allow-listed Windows services of a server, their state and start type (ADR 0075); server.read |
| POST | /api/v1/tenants/{tid}/servers/{id}/services/control | Start, stop, restart a service or set its start type; the panel's own services are refused; audited (ADR 0075) |
| POST | /api/v1/tenants/{tid}/servers/{id}/services/remove-orphan | Remove a ZopanelCache-* or ZopanelApp-* service whose cache or site the panel has no record of; provider only; audited (ADR 0105) |
| POST | /api/v1/tenants/{tid}/servers/{id}/time-sync 202 | Set Windows Time to follow NTP and correct the clock now (ADR 0060) |
| GET | /api/v1/tenants/{tid}/servers/{id}/tune | The server-wide tuning (compression, Brotli, HTTP/3, TLS 1.3; ADR 0118) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/tune | Set the server-wide tuning policy and apply it now |
| GET | /api/v1/tenants/{tid}/servers/{id}/updates | Pending Windows updates, restart state and the maintenance window (ADR 0076); server.read |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/install | Install updates from the last scan now, or approve them for the next window; audited |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/reboot 202 | Restart the server in maintenance mode; maintenance ends when it is seen up again; audited |
| GET | /api/v1/tenants/{tid}/servers/{id}/updates/runs | Scans, installs and restarts, newest first |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/scan 202 | Look for pending updates now; audited |
| PUT | /api/v1/tenants/{tid}/servers/{id}/updates/settings | Set the maintenance window, automatic install and restart policy; audited |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/unapprove | Take updates off the next window's list |