API Docs

This functionality of the Ubiquity API has been disabled. Looking for information on this transition to LeaseWeb? Click here for answers to FAQs and here for information on the LeaseWeb customer portal. Click here for information about the Leaseweb API.

Get to know reinstall

Overview: Starts a PXE reinstall on dedicated server.

reinstall expects the following parameters:

  • device_id - The identifier of the dedicated device.
  • pxe_image_id - The identifier of the PXE image found in `device.list_pxe_images`.

Example:

$params = array(
    'device_id'    => 81,
    'pxe_image_id' => 16

);
$api->call('device.reinstall', $params);

Output:

Array
(
    [status] => 1
    [error_code] => 0
    [error_message] =>
    [data] => Array
        (
            [deployment_id] => 50724
            [operating_system] => Debian 5.0.9 x86 - Lenny - No Raid - Base Install
        )

    [data_type] => application/json
)