unifi_unadopt_device
Remove (unadopt) a UniFi device from a site; online devices reset to factory defaults and confirmation is required, with a preview and lock-out warning for gateway or protected-network devices.
Instructions
Remove (unadopt) a device from the site (official DELETE). An online device is reset to factory defaults. Always needs confirm: true; without it the tool previews, with a lock-out warning when the device is the gateway or carries a protected network.
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": {
"device": "<device>"
},
"name": "unifi_unadopt_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| device | Yes | Device name, MAC, IP or id | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it |