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 power_off

Overview: power_off immediately powers off a device from the remote reboot port.

power_off expects the following parameters:

  • device_id – The identifier of a device.

Example:

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

Output:

Array
	(
	    [status] => 1
	)