Update Voice IN Trunk Group
update_trunk_groupUpdate one of the authenticated customer's Voice IN Trunk Groups. Pass the group id and any fields to change: name, capacity_limit and/or members. IMPORTANT: members REPLACES the whole member list — trunks not listed are detached from the group (they survive as standalone trunks, nothing is deleted); pass an empty array to detach all members. Omit members to leave the membership untouched. Each member entry: trunk_id (required) plus optional priority (lowest tried first) / weight (higher preferred among equal priorities). Returns the updated group with its members in routing order, or a readable error (nothing is changed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID of the Voice IN Trunk Group to update (from list_trunk_groups). | |
| name | No | New friendly name of the Voice IN Trunk Group. | |
| members | No | Full REPLACEMENT member list (max 10); trunks not listed are detached (not deleted). Pass [] to detach all members. Omit to keep the current members. Member semantics as in create_trunk_group. | |
| capacity_limit | No | New maximum number of simultaneous calls for the whole group. |