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 prevents inbound delivery until a gateway is added again; it does not change the trunk's direction settings. The trunk must have inbound calling enabled, otherwise this returns 412 Precondition Failed.
Paramètres
trunk_id
string
gateway_id
string