list_honeypots
list_honeypots
Section titled “list_honeypots”List configured honeypots and the global honeypot toggle.
Side effects: None (read-only).
Returns {"enabled": bool, "honeypots": [...]} where each entry
carries id (synthesised network_id:ip), network_id,
network_name (looked up from list_networks), ip, and
version (always v4 on UniFi 9.x).
Example
Section titled “Example”list_honeypots(controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |