---
title: "Update a route"
method: PUT
path: "/v2/organisations/{organisation_id}/routes/{route_id}"
tags: ["Gateway GRPC"]
---

# Update a route

`PUT /v2/organisations/{organisation_id}/routes/{route_id}`

## Request

- Base URL: `https://api.cautio.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cautio.in/v2/organisations/{organisation_id}/routes/{route_id}`
- Auth: HTTP bearer

## Path parameters

- `organisation_id` string, required
- `route_id` string, required

## Request body

- CreateRouteRequestDto
  - `locations` CreateRouteLocationDto[], required: List of locations for the route
    - `latitude` number, required
    - `longitude` number, required
    - `type` 0 | 1 | 2, required
    - `address` string
  - `route_name` string, required: Name of the route
  - `movement_history_data` VehicleMovementHistoryDto
    - `vehicle_id` string, required
    - `start_time` string, required
    - `end_time` string, required
    - `start_index` string, required
    - `end_index` string, required

## Response `200`

Route updated successfully

---

[API](https://skmtc.dev/cautio/apis/cautio-api.md) - [All operations](https://skmtc.dev/cautio/apis/cautio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cautio/apis/cautio-api/revisions/214e6d1d2b6c?raw)
