---
title: "update least cost routing route"
method: PUT
path: "/LcrRoutes/{LcrRouteSid}"
tags: ["Call Routing"]
---

# update least cost routing route

`PUT /LcrRoutes/{LcrRouteSid}`

## Request body

- LcrRoute
  - `lcr_sid` string, required
  - `regex` string, required — out going call Phone number regex
  - `priority` integer, required
  - `description` string

## Response `204`

least cost routing route updated

## Other responses

- `400` — bad request
- `404` — least cost routing route not found
- `500` — system error

## Changes

- **2025-03-06** `d813879165bf` — 1 breaking
  - the `priority` request property type changed from `number` to `integer`
- **2025-02-11** `370ad208ed5d` — 1 breaking
  - removed the media type `application/json` for the response with the status `204`

[Change history](https://skmtc.dev/jambonz/apis/jambonz-api/changes/LcrRoutes/:LcrRouteSid/put.md)

---

[API](https://skmtc.dev/jambonz/apis/jambonz-api.md) · [All operations](https://skmtc.dev/jambonz/apis/jambonz-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jambonz/apis/jambonz-api/revisions/56f317145d23?raw)
