Table of Contents

API : Billing Customer Remove

Introduction

This request will remove a billing customer from a customer.

Any voice accounts, employees and PBX extensions billed to the removed billing customer will revert to being billed to the customer itself.

Request

URL https://api.telecomx.dk/customer/CUSTOMER_ID/billingcustomer/BILLING_CUSTOMER_ID
Method DELETE
Access level RESELLER, RESELLER_ADMIN or ADMIN.
Param CUSTOMER_ID Id of customer (24 hex-char string).
BILLING_CUSTOMER_ID Id of billing customer (24 hex-char string).

Response

The response is a success object, if no errors occurred.

Json object
success Boolean Indicates whether the billing customer was successfully removed

Note that properties holding no value may be omitted from the object.

Example

{
  "success": true
}

Errors

Error code Message Description
422 customer Customer id is invalid
422 id Billing customer id is invalid
403 access_denied Insufficient access level
500 internal_error <Unspecified>