Update Voice IN Number List
update_voice_in_number_listUpdate one of the authenticated customer's Voice IN Number Lists (caller-ID filters for inbound calls). Pass the list id and only the fields to change; mode, default_action and entry semantics are as in create_voice_in_number_list. remove_numbers entries are matched EXACTLY by their stored value — do NOT guess formats ("+4930..." and "4930..." are different entries): look up the exact stored values with get_voice_in_number_list first, or use values you added earlier in this conversation. Changes apply immediately to every trunk the list is attached to, and atomically — on any error nothing is changed. Returns the updated list or a readable error (e.g. naming the remove_numbers entries that do not exist in the list).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID of the Voice IN Number List to update (from list_voice_in_number_lists). | |
| mode | No | New matching mode. Applies to ALL existing entries at once. | |
| name | No | New name of the list. | |
| add_numbers | No | Entries to add — same format rules as `numbers` in create_voice_in_number_list (up to 500 per call). Values already in the list are rejected. | |
| default_action | No | New action for calls whose caller number matches no entry. | |
| remove_numbers | No | Existing entries to remove, matched EXACTLY by their stored value (character-for-character: "+4930..." and "4930..." are different entries; entries are unique within a list). Look up exact values via get_voice_in_number_list — any unknown value makes the WHOLE update fail and roll back (the unmatched values are named in the error). | |
| add_numbers_action | No | Action the added entries carry: "allow" or "reject". Default: the opposite of the list default_action. |