---
title: "Update a RID Sensor"
method: PUT
path: "/nis/rid-sensors/{id}"
tags: ["RID Sensors"]
---

# Update a RID Sensor

`PUT /nis/rid-sensors/{id}`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/nis/rid-sensors/{id}`
- Auth: API key in header `x-auth-token`

Updates Scout sensor SSN and description.

## Path parameters

- `id` integer, required

## Request body

- UpdateRidSensorDTO: Update a RID Sensor metadata (SSN and description).
  - `ssn` string, required
  - `description` string

## Response `200`

RID Sensor updated

- RidSensorDTO: RID Sensor metadata. Service-account secrets are never returned here.
  - `id` integer
  - `ssn` string
  - `description` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `404`: Not found
- `422`: Validation failed

---

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