block_client
Block a client from accessing the network by its MAC address, applying the restriction immediately and persistently until unblocked.
Instructions
Block a client from accessing the network by MAC address.
Mutating operation: the block is applied immediately and persists in the controller's firewall/blocklist. Use unblock_client to restore access, or kick_client to drop the connection without a persistent block.
Args: mac: Client MAC address to target. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | Client MAC address to target. | |
| site | No | Site to operate on. Defaults to "default". | default |
| device | No | Optional device name to target a specific console; omit for default. |