cURL
curl --request DELETE \ --url https://api.bolna.ai/sip-trunks/trunks/{trunk_id} \ --header 'Authorization: Bearer <token>'
{ "message": "Trunk deleted successfully. 3 phone number(s) removed." }
Permanently delete a SIP trunk and all associated resources including gateways, IP identifiers, and phone numbers.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique trunk ID
Trunk deleted
Was this page helpful?