---
title: "Update device"
method: PATCH
path: "/v2/organisations/{organisation_id}/devices/{device_id}"
tags: ["Gateway GRPC"]
---

# Update device

`PATCH /v2/organisations/{organisation_id}/devices/{device_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}/devices/{device_id}`
- Auth: HTTP bearer

Update a device

## Path parameters

- `organisation_id` string, required
- `device_id` string, required

## Request body

- UpdateDeviceRequestDto
  - `model_id` string: Device model ID
  - `alias_name` string: Device alias name
  - `sim_card_number` string: SIM card number
  - `firmware_version` string: Firmware version
  - `device_organisation_id` string: Device Organisation ID
  - `dashcam` DashcamDataDto
    - `channels` ChannelDto[], required: Dashcam channels
      - `alias_name` string, required: Channel alias name
      - `enabled` boolean, required: Whether the channel is enabled
      - `index` number, required: Channel index
  - `sensors` SensorSetDto
    - `items` SensorDto[], required
      - `type` 0 | 1 | 2 | 3 | 4 | 5, required
      - `fuel` FuelSensorConfigDto
        - `tank_capacity` number, required: Fuel tank capacity
        - `calibration_rules` FuelCalibrationRuleDto[], required: Fuel calibration rules
          - `fuel_tank_level` number, required: Fuel tank level in millimetres
          - `fuel_capacity` number, required: Fuel capacity

## Response `200`

---

[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)
