Get your free beta license ↗
API operation · updates group
POST

/updates/install

First published 3 Oct 20260.1.0Last changed 26 Nov 20260.2.351 change to view
Latest change (release 0.2.35): The operation rejects releases older than the newest release.

Request immediate installation of an UrbeStack update

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsall
Answers202 Accepted

UrbeStack requests immediate installation of the newest release regardless of the automatic update settings. It first checks the license server for the newest release. If the license server is unreachable, UrbeStack uses the release on record. It returns HTTP 409 if no newer release is available, if version does not match the newest release, or if the newest release's license terms still require acceptance. An invalid version format returns HTTP 400.

The API returns HTTP 202 with version, from and started once urbestack-update.service starts. The update continues independently of the request. The web interface and API return HTTP 503 for a few minutes while UrbeStack replaces the packages. Follow progress with urbestack-update-status or journalctl -u urbestack-update -f.

As a command

Run as root on the server

Request body

JSON· 1 field
versionstring, matching ^[0-9]{1,5}\.[0-9]{1,5}\.[0-9]{1,5}$
The optional version field accepts a release version in major.minor.patch form, with 1 to 5 digits per component. If supplied, it must match the newest release.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X POST "$API/updates/install" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "version": "0.0.1"
  }'
Response · 202 Accepted
{
  "from": "text",
  "started": true,
  "version": "0.0.1"
}

Errors

4 errors, each a status and a sentence
400version must be major.minor.patch
401Authentication required
409An update run is in progress
409UrbeStack refused the request to install release <version> because <m.version> is now the newest release.

Change log

1 change since publication, newest first
0.2.3526 Nov 2026
The operation rejects releases older than the newest release.This server checks with the license server before accepting the request. If version specifies a release older than the newest, the operation returns 409 without requesting the update.
0.1.03 Oct 2026
First published.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry last changed in release 0.2.35 on 26 Nov 2026.
urbestack.com/docs/api/post-updates-install/