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 update_friendly_label

Overview: update_friendly_label changes the name the device is displayed with in Ubiquity Motion.

update_friendly_label expects the following parameters:

  • device_id – The identifier of a device.
  • Label – The new display name of the device.

Example:

$params = array(
	    'device_id' => 1,
	    'label' => 'nobis-bootp'
	);
$api->call('device.update_friendly_label', $params);

Output:

Array
	(
	    [status] => 1
	)