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 set_ipmi_password

Overview: set_ipmi_password sets a device's IPMI password to a new random password.

set_ipmi_password expects the following parameters:


  • device_id – The identifier of a device.

Example:

$params = array('device_id' => 1);
$api->call('device.set_ipmi_password', $params);

Output:

Array (
    [status] => 1
    [data] => Array (
        [password] => 7WN2RII5S4U
    )
)