Get to know cancel
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);
Array( [affected_devices] => 1 )