update_server_build
Modify server resource limits and feature caps including memory, CPU, disk, swap, IO weight, and database/backup allocations. Changes apply after server restart.
Instructions
Update a server's resource limits: memory, CPU, disk, swap, IO weight, CPU pinning, and feature limits like max databases/backups (admin action). Only specify the fields you want to change - current values are preserved for unspecified fields. Changes take effect after server restart. For server metadata (name, owner), use update_server_details. Requires Application API key.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | Numeric server ID from list_servers field 'id' | |
| memory | No | Memory limit in MB (0 = unlimited) | |
| swap | No | Swap limit in MB (-1 = unlimited) | |
| disk | No | Disk limit in MB (0 = unlimited) | |
| io | No | IO weight (10-1000) | |
| cpu | No | CPU limit in percent (100 = 1 core, 0 = unlimited) | |
| threads | No | CPU threads/cores to pin (e.g. '0', '0-1,3') | |
| allocation | No | Default allocation ID | |
| databases_limit | No | Max databases | |
| allocations_limit | No | Max allocations | |
| backups_limit | No | Max backups |