Delete SIP trunk
delete_sip_trunkSoft-delete a Vobiz SIP trunk: remove it from listings, stop its SIP domain, and unlink routed numbers while retaining account-level credentials and origination URIs.
Instructions
Soft-delete a Vobiz SIP trunk: it disappears from list_sip_trunks, its SIP domain stops accepting calls, and numbers routed to it are unlinked and stop receiving calls through it. The credentials, IP ACL entries and origination URIs it referenced are account-level and are kept. To pause a trunk and keep its configuration, use update_sip_trunk with trunk_status: disabled instead. An unknown trunk_id raises not_found. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true, set only after the user explicitly approved: deleting this SIP trunk. If your client supports MCP elicitation, the server asks the user to approve directly and this flag is not relied on; otherwise it is your attestation that the user approved. | |
| trunk_id | Yes | SIP trunk UUID: the trunk_id returned by list_sip_trunks, get_sip_trunk or create_sip_trunk. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success. On a failure the result is isError with ok: false plus `error` (kind), `message`, `retryable` and sometimes `http_status`. | |
| deleted | No | True when the record was deleted by this call. | |
| trunk_id | No | The trunk that was deleted. | |
| http_status | No | HTTP status Vobiz answered with. |