---
title: "Remove sensors from device"
method: DELETE
path: "/api/v2/devices/{id}/sensors"
tags: ["Sensors"]
---

# Remove sensors from device

`DELETE /api/v2/devices/{id}/sensors`

## Request

- Base URL: `https://api.chirpwireless.io`
- URL: `https://api.chirpwireless.io/api/v2/devices/{id}/sensors`
- Auth: API key in header `X-API-Key` and API key in header `X-Organization-Id`

Detach sensors from a device.

**Required scope:** `sensors:write`

## Path parameters

- `id` string, required

## Query parameters

- `organizationId` string, required

## Request body

- object
  - `sensorIds` string[], required

## Response `200`

OK

- object
  - `createdAt` string
  - `dataSendingInterval` object
    - `unit` 'minute' | 'hour' | 'day' | 'week' | 'month'
    - `value` integer
  - `id` string
  - `images` object[]
    - `contentType` string
    - `createdAt` string
    - `filename` string
    - `id` string
    - `isCover` boolean
    - `position` integer
    - `sizeBytes` integer
    - `url` string
  - `lastSeen` string
  - `name` string
  - `organizationId` string
  - `physicalDevice` object
    - `clientDeviceId` string
    - `configuration` object
    - `connectionId` string
    - `createdAt` string
    - `id` string
    - `sensorMappings` object[]
      - `createdAt` object
      - `id` object
      - `sensorId` object
      - `sourcePath` object
      - `updatedAt` object
    - `updatedAt` string
  - `sensors` object[]
    - `createdAt` string
    - `id` string
    - `sensorTemplateId` string
    - `updatedAt` string
  - `updatedAt` string

## Other responses

- `401`: Missing or invalid API key
- `403`: Insufficient permissions (missing required scope)

---

[API](https://skmtc.dev/chirpwireless/apis/chirp-public-api.md) · [All operations](https://skmtc.dev/chirpwireless/apis/chirp-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chirpwireless/apis/chirp-public-api/revisions/0414f3e239ff?raw)
