Deletes a domain and what belongs to it, including its users, dial plans, call queues, conferences, API keys, event subscriptions, CDR schedules, and call center reports. A delete cannot be undone. Requires Reseller scope for the domain's territory, or Super User scope.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Query Params
Responses
🟢202Accepted
application/json
The delete is accepted and applied shortly after. It removes users, dial plans and dial rules, call queues, conferences, connections, recording settings, time frames, emergency addresses and numbers, and settings. It also removes the domain's API keys, event subscriptions, CDR schedules and exports (the domain's and its users'), and call center reports with their schedules, and revokes its email domain claims. The domain's phone numbers, SMS numbers, and device (MAC) records go too, unless the matching _option parameter is unassign. SMS numbers follow phone_numbers_option unless sms_numbers_option is sent. The request can take a while on a large domain.