# POST /updates/install

First published 3 Oct 2026 (release 0.1.0) · Last changed 26 Nov 2026 (release 0.2.35)

UrbeStack release 0.2.35 API operation in the updates group.

Request immediate installation of an UrbeStack update

- Who may call it: administrator
- Token scope, any of: settings, all
- Answers: 202 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

- [urbestack-update-now](https://urbestack.com/docs/commands/urbestack-update-now.md): The command requests immediate installation of the newest UrbeStack release regardless of the automatic update settings.

## Request body

JSON.

- `version` (string, 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

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 400: version must be major.minor.patch
- 401: Authentication required
- 409: An update run is in progress
- 409: UrbeStack refused the request to install release <version> because <m.version> is now the newest release. 

## Change log

Most recent first.

- 0.2.35 · 26 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.0 · 3 Oct 2026 · First published.
