Remove (Unadopt) Device
unifi_unadopt_deviceRemoves an adopted UniFi device from site management and returns it to the pending-adoption pool without factory resetting it, so it can be re-adopted later.
Instructions
Remove (un-adopt) an adopted UniFi device from this site, returning it to the pending-adoption pool. The device keeps running with its current configuration but leaves this controller's management until re-adopted — it is NOT factory-reset. It reappears in unifi_list_pending_devices and can be re-added with unifi_adopt_device. CAUTION: this drops the device from management; confirm with the user before removing infrastructure.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deviceId": "<deviceId>"
},
"name": "unifi_unadopt_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| deviceId | Yes | Device ID (UUID from unifi_list_devices) |