Delete SIP trunk API
Delete a SIP trunk with its gateways, carrier IPs and numbers via DELETE /trunk/trunks/; inbound and outbound calls on it stop.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The trunk's id
Response
The deleted trunk
A SIP trunk's own settings.
Unique trunk ID.
"3f2b8c1e-6d4a-4f7b-9e2c-1a5d7b9c0e21"
Display name.
"Telnyx production"
Free-text note for your own reference.
The carrier the trunk was set up for.
plivo, telnyx, twilio, exotel, vobiz, vonage, custom "telnyx"
When false, the trunk takes no inbound calls and places no outbound calls.
Whether the trunk accepts inbound calls from its carrier IPs.
Whether outbound calls can be placed from the trunk's numbers.
Maximum concurrent calls on the trunk, inbound and outbound combined.
20
Agent that answers inbound calls to any of the trunk's numbers that has no agent_id of its own.
Username your carrier issued, sent when the carrier challenges an outbound call (SIP 401/407). The password is never returned.
"bolna-outbound"
SIP transport used towards your carrier's gateways.
udp, tcp Codecs offered to the carrier, comma-separated, in order of preference.
"PCMU,PCMA"
When true, the dialled number is sent to the carrier with a leading + (+12025550178); when false, as digits only (12025550178).
When the trunk last took an inbound call, updated at most once a minute. null until the first one.
When an outbound call was last placed through the trunk, updated at most once a minute. null until the first one.
The legacy SIP trunk this trunk was migrated from, when Bolna migrated it for you. null otherwise.
The organisation that owns the trunk. null for an account outside an organisation.
The sub-account the trunk was created under. null for an organisation-level trunk.
The owning user, for an account outside an organisation. null for an organisation's trunk.
When the trunk was created.
When the trunk's settings last changed.
true only in the response to a delete.
When the trunk was deleted.

