Origination URI
Update Origination URI
Update a Vobiz origination URI - change SIP destination, routing priority, load-balancing weight, or enabled state with a partial PUT; no re-creation needed.
PUT
Update an origination URI
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
Common Use Cases:
- Change URI priority to implement failover strategies or promote a backup URI to primary
- Adjust weights to rebalance traffic distribution across multiple carriers
- Update the SIP destination when switching carriers or changing server addresses
- Temporarily disable a URI (
enabled: false) without deleting it for maintenance windows
Request Parameters
Send both fields on every update - this is a replace, not a partial patch. To keep the current label, resend it.| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Label for the destination. Surfaces as description on the returned object. |
priority | integer | Yes | Routing priority (lower = higher priority). Adjust to promote or demote a URI in the failover hierarchy. |
What this endpoint cannot change. The SIP destination (
uri), weight, and enabled are not part of the update body. To point at a different carrier or host, delete the URI and create a new one. To rebalance weight or toggle enabled, use the Console.Response
Returns the complete origination URI object with updated values and a newupdated_at timestamp.
Response - 200 OK
Examples
cURL - Promote a backup to primary
Change a backup URI from priority 2 to priority 1 (resend itsname):
cURL Request
cURL - Demote a primary to failover
cURL Request
Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token