unifi_gen_adoptdevice
unifi_gen_adoptdeviceAdopt UniFi devices by MAC address through the controller API, with preview or dry-run and explicit confirmation before changes are applied.
Instructions
Adopt Devices - generated from developer.ui.com/network/v11.0.97/adoptdevice
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, sent as is. Top-level vendor fields only; full schema: vendor docs page in the description. The API requires a body. | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. |