Sign inGet Started

Delete a SIP trunk

DELETE
/v1/voice/trunks/{trunk_id}
await bird.voice.trunks.delete("trunk-id");

Removes the SIP trunk. Calls already in progress on this trunk are not affected. Clear an attached emergency number in the dashboard before deleting the trunk. After deletion, new calls cannot use the trunk. Historical leg records retain the trunk reference. The generated domain is not reused. Deletion returns 412 if it would leave a live emergency number without a supported callback route; configure another route before deleting the trunk.

Parameter

trunk_idstring

ID of the SIP trunk to retrieve, update, or delete.

Weiter mit der Dokumentation, Anleitungen und Beispielen zu diesem Thema.