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 cancel

Overview: cancel will process the immediate cancellation of a service. This will immediately return any attached devices to our vacant pool, credit any invoices, and cancel the service and any child services.

cancel expects the following parameters:

  • service_id – The id of the service you wish to cancel.


$params = array(
    'service_id' => 34238

$api->call('service.cancel', $params);


    [affected_devices] => 1