---
title: "Update Sensor"
method: PUT
path: "/api/v2/sensors/{sensor_id}"
tags: ["sensors_other"]
deprecated: true
---

# Update Sensor

`PUT /api/v2/sensors/{sensor_id}`

> **Deprecated.**

⚠️ **DEPRECATED**: This endpoint will be removed after April 13, 2026.

## Request body

- SensorSORItemUpdateRequest
  - `plaintext_name` string
  - `active` boolean
  - `tags` object

## Response `201`

Successful response

- SensorSORUpdateResponseModel
  - `detail` string, required

## Other responses

- `400` — The request failed due to a client error, with one or more of the following possible causes: 1. The request required a tenant_id field, which was missing. 2. The request was malformed syntactically or semantically.
- `404` — The specified resource was not found.
- `422` — Validation Error

---

[API](https://skmtc.net/hiddenlayerai/apis/hiddenlayer-audit-api.md) · [All operations](https://skmtc.net/hiddenlayerai/apis/hiddenlayer-audit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiddenlayerai/hiddenlayer-audit-api/revisions/efca861e915b/schema)
