Trunks
Update a Trunk
Modify an existing Vobiz SIP trunk - update name, description, concurrent-call limits, CPS caps, or webhook URL without recreating the trunk resource.
PUT
Update a trunk
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
Request Parameters
Send all three fields on every update - this is a replace, not a partial patch. To keep a value unchanged, resend its current value (fetch it first with Retrieve a Trunk).| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name for the trunk. Maximum 255 characters. |
max_concurrent_calls | integer | Yes | Maximum number of simultaneous calls. Surfaces as concurrent_calls_limit on the trunk object. |
enabled | boolean | Yes | Whether the trunk is active. Set to false to disable without deleting. |
Examples
Response
Returns the complete trunk object with updated values and a newupdated_at timestamp.
Response - 200 OK
Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Body
application/json
All fields are optional — send only what you want to change. Does not accept username/password (rotate credentials via the credentials subresource endpoint).
Maximum string length:
100Direction of the trunk — inbound or outbound only.
Available options:
inbound, outbound Available options:
enabled, disabled Maximum string length:
255Available options:
udp, tcp, tls Maximum string length:
255Maximum string length:
500Required range:
0 <= x <= 1000Required range:
0 <= x <= 100Customer webhook for call-admission events (CallInitiated / Hangup). Public http/https URL; SSRF-validated. See Trunk Webhooks.
Maximum string length:
500Available options:
POST, GET Response
200 - application/json
Trunk updated