Delete a trunk
Refused with 409 sip_trunk_has_numbers while imported numbers still ride it — release them first. Live calls on the trunk are hung up.
Requires the admin scope. A key with less gets 403 insufficient_scope.
Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.
In: header
Path Parameters
The SIP trunk's id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/sip-trunks/string"{ "data": null}The numbers imported onto this trunk
Live numbers only — released ones are history.
Ask for SIP trunking to be enabled
Starts a request a human reviews. Refused 409 sip_trunking_request_pending while one is already waiting, and 409 sip_trunking_already_enabled if the organization can already create trunks. A rejected request may be resubmitted — read the reason from GET /v1/sip-trunks/entitlement first, since resubmitting unchanged wastes both sides.