Delete trunk origination URI
delete_origination_uriRemove an outbound origination URI from the Vobiz account by UUID; this irreversible action stops trunks routing calls to that destination.
Instructions
Delete an origination URI from this Vobiz account; this cannot be undone. Trunks stop routing outbound calls to that destination, so add a replacement with create_origination_uri and re-point the trunk with update_sip_trunk first if it is a trunk's only route. An unknown uri_id raises not_found. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri_id | Yes | Origination URI UUID: the id from list_origination_uris or create_origination_uri. Unknown ids raise not_found. | |
| confirm | Yes | Must be true, set only after the user explicitly approved: deleting this origination URI. |
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`. | |
| uri_id | No | The URI that was deleted. | |
| deleted | No | ||
| http_status | No | HTTP status Vobiz answered with. |