Update an existing origination URI.
curl --request PUT \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/{uri_id} \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "<string>",
"priority": 123
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"uri": "sip:sbc1.example.com",
"priority": 2,
"weight": 10,
"enabled": true,
"transport": "TCP",
"description": "Primary SBC",
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T11:30:00Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
PUT https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/{uri_id}
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/jsonenabled: false) without deleting it for maintenance windows| Field | Type | Required | Description |
|---|---|---|---|
uri | string | No | Updated SIP URI destination in the format sip:user@host:port or sip:host:port. Must be a valid, reachable SIP endpoint. |
priority | integer | No | Updated routing priority (lower = higher priority). Adjust to promote or demote URIs in the failover hierarchy. |
weight | integer | No | Updated load balancing weight. Adjust to rebalance traffic distribution among same-priority URIs. |
enabled | boolean | No | Updated active status. Set to false to temporarily disable without deleting. |
updated_at timestamp.
{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "",
"uri": "sip:sbc1.example.com:5060",
"priority": 2,
"weight": 10,
"enabled": true,
"transport": "TCP",
"description": "",
"created_at": "2026-05-12T05:11:51.914686Z",
"updated_at": "2026-05-12T05:11:51.964357Z"
}
curl -X PUT https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/aabbccdd-1234-5678-90ab-cdef12345678 \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"priority": 1
}'
curl -X PUT https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/aabbccdd-1234-5678-90ab-cdef12345678 \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"weight": 50
}'
curl -X PUT https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/aabbccdd-1234-5678-90ab-cdef12345678 \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"uri": "sip:newcarrier@sip.newprovider.com:5060"
}'
curl -X PUT https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/aabbccdd-1234-5678-90ab-cdef12345678 \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"enabled": false
}'
curl -X PUT https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/aabbccdd-1234-5678-90ab-cdef12345678 \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"uri": "sip:updated@sip.example.com:5060",
"priority": 1,
"weight": 30,
"enabled": true
}'
enabled: false during planned maintenance instead of changing prioritiesYour Vobiz account Auth ID
Your Vobiz account Auth Token
Was this page helpful?
curl --request PUT \
--url https://api.vobiz.ai/api/v1/account/{auth_id}/origination-uris/{uri_id} \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"name": "<string>",
"priority": 123
}
'{
"id": "aabbccdd-1234-5678-90ab-cdef12345678",
"account_id": "MA_XXXXXXXX",
"uri": "sip:sbc1.example.com",
"priority": 2,
"weight": 10,
"enabled": true,
"transport": "TCP",
"description": "Primary SBC",
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T11:30:00Z"
}