---
title: "Delete devices"
method: DELETE
path: "/api/v1/devices"
tags: ["Devices"]
---

# Delete devices

`DELETE /api/v1/devices`

Request to delete selected or all devices.

## Query parameters

- `deviceId` string, uuid

## Response `200`

List of deleted device IDs

- object
  - `deviceIds` string[]

## Other responses

- `204` — Action will asynchronously processed.
- `400` — Bad Request
- `401` — Not authorized
- `403` — Forbidden
- `404` — Entity was not found.

## Changes

> 42 revisions in range; 3 not diffed.

- **2022-01-05** `afc9b9af73b5` — 6 info
  - added the optional property `error/details/items/typeUrl` to the response with the `400` status
  - added the optional property `error/details/items/typeUrl` to the response with the `401` status
  - added the optional property `error/details/items/typeUrl` to the response with the `403` status
  - added the optional property `error/details/items/value` to the response with the `400` status
  - …2 more
- **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/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/bbfd9fa43407/schema)
