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 cpanel_key

Overview: cpanel_key retrives the license key for cPanel associated with the provided IP address.

cpanel_key expects the following parameters:

  • ip_address – The IP address the license is associated with.

NOTE: This function returns the license key of the control panel in the data field.

Example:

$params = array(
	    'ip_address' => "192.168.0.5"
	);
$api->call('license.cpanel_key', $params);

Output:

Array
	(
		[status] => 1
		[data] => 7844585
	)