PATCH /provisioned-routes/{id} instead.custom_headers: omit to keep the stored headers, send [] to remove them, send a list to replace themnumber_pool.phone_numbersRoles required: AdminorStandard. ReadOnly users cannot update routes.
curl --location --globoff --request PUT 'https://platform-api.convirza.com/v3/provisioned-routes/{id}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"provisioned_route_name": "SIP Front Desk",
"provisioned_route_status": "active",
"ad_source_id": 56,
"org_unit_id": 70035,
"custom_headers": [
{
"name": "Account-Id",
"value": "acct_1234"
}
],
"routing_configuration": {
"routing_type": "simple",
"config": {
"ringto": "sips:frontdesk@pbx.example.com",
"record_call": false
}
}
}'{
"code": 200,
"message": "Success",
"data": {
"provisioned_route_id": 12345,
"message": "Route updated successfully"
},
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-03-27T10:30:00.000Z"
}