/packages/{name}
0.1.0Unchanged since publicationUpdate a hosting package
usersallUrbeStack applies only the settings you supply and returns the updated package, including its plugin switches. Use name to rename the package. The new name can be up to 64 characters, must start with an ASCII letter or digit, and can contain ASCII letters, digits, spaces, dots, underscores, and hyphens. UrbeStack rejects a new name that another package already uses, regardless of case. Accounts keep their package assignments, and earlier exports retain the old name.
Use 0 for unlimited disk, bandwidth, resource counts, or hourly mail. Numeric limits must be nonnegative integers. Set domain_hourly_limit or account_hourly_limit to null or an empty string to restore the server setting for that limit. Set botmail_keys_per_mailbox to cap the number of bot keys per mailbox. The server ceiling applies when that field is set to null, an empty string, 0, or a value above the ceiling.
Disk quota and hourly mail limit changes take effect immediately. UrbeStack regenerates the mail rate map when an hourly mail limit changes and immediately rechecks bandwidth restrictions when the bandwidth limit changes. Lowering a count limit preserves existing resources. Customers at or above the new limit can add resources once the limit allows it.
Set shell to false to immediately disable shell access for every customer on the package and end their active shell sessions. Set backups to false to disable on-demand backups. Nightly backups continue. Set cron to false to immediately set aside customer crontabs and suspend their jobs. Set cron to true to restore those crontabs.
Use plugins to set switches for one or more plugins with a customer page. Set a switch to true to show the page in the web interface or false to hide it. UrbeStack enables the page for every package when the plugin is registered. Plugin names must be 2 to 32 characters long, start with a lowercase ASCII letter, and contain only lowercase ASCII letters, digits, or hyphens.
Administrators can update any package. Resellers can update only their own packages. A reseller-owned package must have customers set to 0, respect any feature switches disabled in the reseller's own package, and use a positive limit no higher than each corresponding positive limit in that package. Returns 400 for an invalid package or plugin name or a request that specifies no update, 403 if a reseller requests an administrator-owned package, and 404 if the package is missing or belongs to another reseller and the caller is a reseller.
As a command
Run as root on the serverParameters
namepath ·PackageNameRequiredaccount_hourly_limitinteger, 0 or more or nullbackupsbooleanbandwidth_mbinteger, 0 or morebotmailbooleanbotmail_keys_per_mailboxinteger, 0 or more or nullcronbooleancron_jobsinteger, 0 or morecustomersinteger, 0 or moredatabasesinteger, 0 or moredisk_mbinteger, 0 or moredomain_hourly_limitinteger, 0 or more or nulldomainsinteger, 0 or moreftp_accountsinteger, 0 or moremail_accountsinteger, 0 or morenamePackageNamepluginsobject of booleanshellbooleanExample
See the API overview for how to set $API and $TOKEN.curl -sS -X PATCH "$API/packages/alice" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"account_hourly_limit": 1,
"backups": true,
"bandwidth_mb": 1,
"botmail": true,
"botmail_keys_per_mailbox": 1,
"cron": true,
"cron_jobs": 1,
"customers": 1,
"databases": 1,
"disk_mb": 1,
"domain_hourly_limit": 1,
"domains": 1,
"ftp_accounts": 1,
"mail_accounts": 1,
"name": "alice",
"plugins": {},
"shell": true
}'200 OK{
"package": {
"account_hourly_limit": 1,
"backups": true,
"bandwidth_mb": 1,
"botmail": true,
"botmail_keys_per_mailbox": 1,
"created_at": "2026-09-09T10:15:00Z",
"cron": true,
"cron_jobs": 1,
"customers": 1,
"databases": 1,
"disk_mb": 1,
"domain_hourly_limit": 1,
"domains": 1,
"ftp_accounts": 1,
"id": 1,
"mail_accounts": 1,
"name": "alice",
"owner": "text",
"owner_id": 1,
"plugins": {},
"shell": true,
"users": 1
}
}Errors
17 errors, each a status and a sentence400--name is required400--plugin takes NAME=on|off, not '<pair>'400Domain name required400Domain name too long400Invalid <what>: expected a non-negative integer400Invalid IPv4 address400Invalid IPv6 address400Invalid boolean400Invalid domain name400Invalid package name: letters, digits, spaces, dots, underscores and dashes, up to 64, starting with a letter or digit400Invalid port400Invalid setting key400Nothing to change401Authentication required403The package <p.name> is the administrator's: a reseller changes their own404Package '<name>' not found404Setting '<key>' not foundurbestack.com/docs/api/patch-packages-name/