Install the offered release: a panel.update job for the broker on the panel's own machine, which runs zopanel-setup update -feed detached (backup, switch, health check, rollback on failure)
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/panel-update/apply may answer 202Install the offered release: a panel.update job for the broker on the panel's own machine, which runs zopanel-setup update -feed detached (backup, switch, health check, rollback on failure). The panel restarts; the outcome is read back when it is up
Refused with the blocker's code (see PanelUpdate.blocker). Raises update.started, then update.succeeded, update.rolled_back or update.failed.
Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Responses
202 Started
Content type: application/json
installedobject | null requiredNull for a development build, which checks but cannot update
versionstring requiredchannelstring required
feed_urlstring requiredhttps feed on a public host (PANEL_UPDATE_FEED_URL_INVALID, PANEL_UPDATE_FEED_HOST_NOT_PUBLIC); default https://updates.zopanel.net/
channelstring requiredEmpty follows the installed release's channel
Allowed values:"""stable""lts""beta"offlineboolean requiredNo checks at all
modestring requiredWhat installs by itself in the window; notify installs nothing
Allowed values:"notify""security""all"windowobject required- no other properties
daysarray<integer> required0 Sunday … 6 Saturday
start_hourinteger required- minimum 0
- maximum 23
end_hourinteger requiredBefore start_hour runs past midnight; equal is the whole day
- minimum 0
- maximum 23
roll_agentsboolean requiredAfter the panel updates, roll the other servers' agents in batches (ADR 0098), in the same window
agent_batch_sizeinteger required- minimum 1
- maximum 100
configured_bystring optionalSet by the panel; never sent
default_feed_urlstring requiredchannelstring requiredThe channel checked
checked_atstring (date-time) | null requiredcheck_errorstring requiredcheck_error_codestring requiredStable code of the last check's failure (PANEL_UPDATE_*), empty when it went through; check_error is the detail.
latestobject | null requiredversionstring requiredchannelstring requiredseveritystring requiredAllowed values:"normal""security"notesmap<string, string> requiredSigned release notes per language (en, vi)
notes_urlstring requiredbuilt_atstring (date-time) requiredmin_upgrade_fromstring required
update_availableboolean requiredlatest is newer than installed (never an older one)
blockerstring requiredWhy the update cannot start now: PANEL_UPDATE_DEV_BUILD, PANEL_UPDATE_OFFLINE, PANEL_UPDATE_BUSY, PANEL_UPDATE_NONE, PANEL_UPDATE_NEEDS_INTERMEDIATE, PANEL_UPDATE_NO_LOCAL_SERVER; empty when it can
local_serverobject | null requiredThe server this panel runs on (its broker runs the update)
idstring requirednamestring required
idstring requiredfromstring requiredtostring requiredchannelstring requiredseveritystring requiredAllowed values:"normal""security"statestring requiredAllowed values:"queued""starting""downloading""installing""succeeded""rolled_back""failed"messagestring optionallogstring optionalThe updater's log on the panel's machine
server_idstring requiredjob_idstring requiredbystring optionalautoboolean requiredstarted_atstring (date-time) requiredfinished_atstring (date-time) optionalrecordedboolean optional
next_windowstring (date-time) | null requiredserver_timestring (date-time) requiredserver_zonestring requiredmanual_commandstring requiredThe same update by hand on the panel's machine
rollout_forstring requiredrollout_idstring requiredrollout_errorstring requiredrepairobject | null optionalHow to repair this installation (D25); null for a development build. msi_repair_fails: the machine was installed by an MSI older than 0.9.143 and runs a newer release, so repairing with that MSI (msiexec /fa, Apps & features) fails with 1603 (R15-4); use command or a newer MSI
commandstring requiredRepairs the running release, in an elevated PowerShell
msi_versionstring requiredRelease of the MSI in Program Files\Zopanel\installer; empty when not installed by an MSI
msi_repair_failsboolean required
Example
{
"installed": {
"version": "string",
"channel": "string"
},
"settings": {
"feed_url": "string",
"channel": "",
"offline": true,
"mode": "notify",
"window": {
"days": [
0
],
"start_hour": 0,
"end_hour": 0
},
"roll_agents": true,
"agent_batch_size": 1,
"configured_by": "string"
},
"default_feed_url": "string",
"channel": "string",
"checked_at": "2026-01-01T00:00:00Z",
"check_error": "string",
"check_error_code": "string",
"latest": {
"version": "string",
"channel": "string",
"severity": "normal",
"notes": {
"key": "string"
},
"notes_url": "string",
"built_at": "2026-01-01T00:00:00Z",
"min_upgrade_from": "string"
},
"update_available": true,
"blocker": "string",
"local_server": {
"id": "string",
"name": "string"
},
"op": {
"id": "string",
"from": "string",
"to": "string",
"channel": "string",
"severity": "normal",
"state": "queued",
"message": "string",
"log": "string",
"server_id": "string",
"job_id": "string",
"by": "string",
"auto": true,
"started_at": "2026-01-01T00:00:00Z",
"finished_at": "2026-01-01T00:00:00Z",
"recorded": true
},
"next_window": "2026-01-01T00:00:00Z",
"server_time": "2026-01-01T00:00:00Z",
"server_zone": "string",
"manual_command": "string",
"rollout_for": "string",
"rollout_id": "string",
"rollout_error": "string",
"repair": {
"command": "string",
"msi_version": "string",
"msi_repair_fails": true
}
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required