remove_device_from_network
Remove devices from a network. Accepts a single serial or multiple serials, with dry-run preview. Device configuration is reset to defaults.
Instructions
[WRITE][risk=high] Remove device(s) from a network. Inverse: claim back.
The devices' current network is captured for undo, so the undo token is
genuinely applicable — but claiming a device back restores MEMBERSHIP, not
CONFIGURATION. A removed device is reset to an unconfigured state; it
returns with the network's defaults, without the name, tags, address, notes
or switch-port settings it carried before. Read those with device_status /
switch_ports first if you will need them back.
Pass dry_run=True to preview. Accepts a single ``serial`` or a ``serials``
list — the list form is how claim_devices_into_network's undo replays.
Args:
network_id: Meraki network id the devices are bound to.
serial: One device serial to remove (or use ``serials``).
serials: Device serials to remove (mutually exclusive with ``serial``).
dry_run: If True, preview without removing.
target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| target | No | ||
| dry_run | No | ||
| serials | No | ||
| network_id | Yes |