/packages
0.1.0Unchanged since publicationCreate a hosting package
usersallThe package sets resource limits and feature access for the accounts assigned to it. The response includes the created package. name is required, must be unique regardless of case, and can be up to 64 characters. It must start with an ASCII letter or digit and can contain ASCII letters, digits, spaces, dots, underscores, and hyphens. Returns 400 for a missing or invalid name.
Disk, bandwidth, and resource count limits default to 0, meaning unlimited. Numeric limits must be nonnegative integers. UrbeStack applies count limits when resources are created and preserves existing resources. cron_jobs caps the jobs in each customer's crontab and is checked whenever a job is added, including through the API. customers caps how many customers a reseller on the package may own. Disk and bandwidth limits for that reseller apply to the combined measured usage of the reseller and their customers.
shell, backups, and cron default to true, subject to each customer's settings. Set shell to false to disable shell access for every customer on the package. Set backups to false to disable on-demand backups. Nightly backups continue. Set cron to false to set aside customer crontabs and suspend their jobs until cron is enabled again.
domain_hourly_limit and account_hourly_limit set hourly mail limits per domain and per mail account. A domain's own setting takes precedence over the package setting, which takes precedence over the server setting. Omit either field or pass null or an empty string to inherit the server setting. Use 0 for no limit. botmail_keys_per_mailbox caps the number of bot keys per mailbox. The server ceiling applies if the field is omitted or set to null, an empty string, 0, or a value above the ceiling.
Administrators can set owner to a reseller's username to create a package for that reseller's customers. Omitting owner or passing null or an empty string creates an administrator-owned package. Packages created by a reseller are owned by that reseller. A reseller-owned package must have customers set to 0. For each other limit that is positive in the reseller's own package, the new limit must be positive and no higher. Any feature switch disabled in the reseller's own package must also be disabled.
Supplying plugin switches in plugins returns 400 with the message Invalid arguments. Use PATCH /packages/{name} to set plugin switches.
As a command
Run as root on the servernamePackageNameRequiredaccount_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 moreownerUsernameshellbooleanExample
See the API overview for how to set $API and $TOKEN.curl -sS -X POST "$API/packages" \
-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",
"owner": "alice",
"shell": true
}'201 Created{
"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
6 errors, each a status and a sentence400--name is required400Invalid <what>: expected a non-negative integer400Invalid package name: letters, digits, spaces, dots, underscores and dashes, up to 64, starting with a letter or digit400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter400Username '<value>' is reserved401Authentication requiredurbestack.com/docs/api/post-packages/