---
title: "Delete device by ID"
method: DELETE
path: "/api/v1/devices/{deviceId}"
tags: ["Devices"]
---

# Delete device by ID

`DELETE /api/v1/devices/{deviceId}`

Delete a single device by ID. Alternative is to call 'Delete owned devices' with a `deviceIdFilter` filter query parameter.

## Path parameters

- `deviceId` string, uuid, required

## Response `200`

List of deleted device IDs

- object
  - `deviceIds` string[]

## Other responses

- `400` — Bad Request
- `401` — Not authorized
- `404` — Entity was not found.

## Changes

- **2021-08-10** `7ff524111ddf` — 1 info
  - endpoint added
- **2020-04-11** `562192db9767` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/changes/api/v1/devices/:deviceId/delete.md)

---

[API](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway.md) · [All operations](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/plgd-dev/plgd-http-gateway/revisions/7ff524111ddf/schema)
