cURL
curl --request DELETE \ --url https://api.bolna.ai/sip-trunks/trunks/{trunk_id}/numbers/{phone_number_id} \ --header 'Authorization: Bearer <token>'
{ "message": "Phone number removed successfully" }
Remove a phone number from a SIP trunk. If the number was mapped to an agent, the mapping is also removed.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique trunk ID
The phone number ID to remove
Phone number removed
Was this page helpful?