Update a trunk
trunk_updateUpdate an owned trunk's settings: name, authentication type, capacities, and SIP configuration. First use trunk_list to get the trunk ID.
Instructions
Update an owned trunk's settings (name, auth type, capacities, SIP config). The trunk being updated is excluded from the account capacity-sum check. POI assignment is silently ignored (admin-only). Step-up MFA required. Use trunk_list first to find the trunk id. Errors: NO_ACTIVE_CUSTOMER, INVALID_ID, NOT_FOUND, INVALID_PAYLOAD, VALIDATION_ERROR, INTERNAL_ERROR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Trunk name | |
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) | |
| auth_type | No | Authentication mode: IP_ACL, DIGEST, EITHER, or BOTH | |
| sip_config | No | SIP config object persisted as JSONB (e.g. { codecs: [...], dtmf_mode: '...' }). The customer portal only writes codecs and dtmf_mode; other keys are admin-surface. | |
| description | No | Free-text description of the trunk | |
| capacity_cps_inbound | No | Max inbound calls-per-second; 0 disables inbound (503 + Retry-After at runtime) | |
| capacity_cps_outbound | No | Max outbound calls-per-second; 0 disables outbound | |
| allowed_number_classes | No | Number classes this trunk may carry | |
| capacity_channels_inbound | No | Max concurrent inbound channels; 0 disables inbound | |
| capacity_channels_outbound | No | Max concurrent outbound channels; 0 disables outbound |