os.php¶
Operating system management module: provides methods for adding, removing, updating, and retrieving a list of OS with filtering by hardware compatibility and licenses.
API Methods¶
| Method | Action | Description |
|---|---|---|
list | get OS list | Returns a filtered list of operating systems based on server hardware, instance presets, or customer location. |
os/list¶
Returns a filtered list of operating systems based on server hardware, instance presets, or customer location.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | The action to perform (e.g., list) |
| token | ❌ | string | Authentication token |
| id | ❌ | integer | Server ID for hardware-specific filtering |
| instance_id | ❌ | integer | Preset instance ID for configuration matching |