---
title: "Delete a device"
method: DELETE
path: "/devices/{deviceId}"
---

# Delete a device

`DELETE /devices/{deviceId}`

Delete an existing device by device ID.

## Path parameters

- `deviceId` string, required

## Query parameters

- `api-version` string, required
- `expand` string

## Response `204`

Success

## Other responses

- `default` — An error response received from the IoT Central Service.

---

[API](https://skmtc.net/azure/apis/iotcentral-iotcentral.md) · [All operations](https://skmtc.net/azure/apis/iotcentral-iotcentral/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/iotcentral-iotcentral/versions/565d8813cbd3/schema)
