update_mobility_device_network
Update LAN and DHCP settings on a UniFi Mobility device, including DHCP mode, address range, and lease time; preview changes with dry run before applying.
Instructions
Update LAN / DHCP settings on a UniFi Mobility device.
Args:
workspace_id: Workspace UUID
device_id: Device UUID
settings: Application settings
host_address: LAN address of the device (CIDR)
dhcp_mode: dhcp to enable DHCP serving, none to disable
dhcp_range_start: First address of the DHCP pool
dhcp_range_stop: Last address of the DHCP pool
dhcp_lease_time: Lease time in seconds (0 = infinite)
confirm: Must be true to apply the change (required unless dry_run)
dry_run: Preview the change without applying it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| dry_run | No | ||
| device_id | Yes | ||
| dhcp_mode | No | ||
| controller | No | Controller to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default. | |
| host_address | No | ||
| workspace_id | Yes | ||
| dhcp_lease_time | No | ||
| dhcp_range_stop | No | ||
| dhcp_range_start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||