---
title: "Remove (Unadopt) Device"
method: DELETE
path: "/v1/sites/{siteId}/devices/{deviceId}"
tags: ["UniFi Devices"]
---

# Remove (Unadopt) Device

`DELETE /v1/sites/{siteId}/devices/{deviceId}`

## Request

- Base URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/network/integration`
- URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/network/integration/v1/sites/{siteId}/devices/{deviceId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ubiquiti/apis/unifi-network-api/docs/v1/sites/:siteId/devices/:deviceId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes (unadopts) an adopted device from the site. If the device is online, it will be reset to factory defaults.

## Path parameters

- `siteId` string, uuid, required
- `deviceId` string, uuid, required

## Response `200`

OK

---

[API](https://skmtc.dev/ubiquiti/apis/unifi-network-api.md) - [All operations](https://skmtc.dev/ubiquiti/apis/unifi-network-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ubiquiti/apis/unifi-network-api/revisions/822d5af98ce5?raw)
