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

/plugins/{name}/update

First published 3 Dec 20260.2.38Unchanged since publication

Request immediate installation of a plugin's newest version

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

UrbeStack requests immediate installation of the newest version of a plugin installed from the license server, regardless of whether the plugin's automatic updates are on. It first asks the license server for the plugin's newest version. If the license server is unreachable, UrbeStack uses the version on record.

The API returns HTTP 409 if the plugin was not installed from the license server, if no newer version is published, if version does not match the newest version, if the version requires a newer version of UrbeStack, or if this server's license does not include the plugin. It also returns HTTP 409 if accept omits any additional API scopes the version requests or any panels where the version adds a view. That response includes version, scopes_added and panels_added.

The API returns HTTP 202 with name, version, from and started once urbestack-update.service starts. The installation will continue independently of the request. To follow the installation, use GET /plugins and check update. UrbeStack never rolls back a plugin. If the installation fails, UrbeStack will report the failure in update.problem and will not retry the installation automatically.

As a command

Run as root on the server

Parameters

namepath ·PluginNameRequired

Request body

JSON· 4 fields
acceptobject
This object lists the additional API scopes the administrator accepts and the panels where the administrator accepts a new view.
accept.panelsarray of string, one of admin, reseller, user
The panels accepted, as listed in update.available.panels_added.
accept.scopesarray of string
The API scopes accepted, as listed in update.available.scopes_added.
versionstring, matching ^[0-9]{1,6}\.[0-9]{1,6}\.[0-9]{1,6}$
The optional version field accepts a version in major.minor.patch form. If supplied, it must match the plugin's newest version.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X POST "$API/plugins/alice/update" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "accept": {
      "panels": [
        "admin"
      ],
      "scopes": [
        "*"
      ]
    },
    "version": "0.0.1"
  }'
Response · 202 Accepted
{
  "from": "text",
  "name": "alice",
  "started": true,
  "version": "0.0.1"
}

Errors

10 errors, each a status and a sentence
400--accept-<k> is a comma-separated list of names
400--name is required
400--version is major.minor.patch
400Invalid setting key
400accept.<k> is a list of names
400version must be major.minor.patch
401Authentication required
404Setting '<key>' not found
404The license server has no plugin named <name>
409An update run is in progress
Generated from release 0.2.39 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.38 on 3 Dec 2026.
urbestack.com/docs/api/post-plugins-name-update/