Sign inGet Started

Delete a SIP trunk gateway

DELETE
/v1/voice/trunks/{trunk_id}/gateways/{gateway_id}
await bird.voice.trunks.gateways.delete("TRUNK_ID", "GATEWAY_ID");

Removes the gateway. Calls already ringing this address are not affected. Removing the last gateway leaves inbound calling enabled but removes its delivery targets. New inbound calls to numbers routed to this trunk are refused until a gateway is added back. The trunk must have inbound calling enabled, otherwise this returns 412 Precondition Failed. If a hunt group you built in the trunk's inbound routing uses the gateway, the delete returns 409 Conflict: remove the gateway from that group in the dashboard first. The All gateways (automatic) group never blocks a delete.

Parametri

trunk_idstring

ID of the SIP trunk that owns the gateway.

gateway_idstring

ID of the inbound gateway to retrieve, update, or delete.

Continua con la documentazione, le guide e gli esempi per questo argomento.