delete_honeypot
delete_honeypot
Section titled “delete_honeypot”Preview deletion of a honeypot entry.
v0.7.0 destructive pattern: this tool does not delete on its own.
It returns a preview envelope with a token; call
confirm_destructive_action(token) to commit. Tokens expire
after 5 minutes.
Side effects:
- None until
confirm_destructive_actionruns against the token. - On confirm: rewrites the
ipssetting’shoneypotlist with the entry removed and setshoneypot_enabledbased on whether the resulting list is empty. dry_run=Truereturns the legacywould_deleteenvelope with no token (informational only).
Example
Section titled “Example”delete_honeypot(id="65f...:10.0.50.2")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | — | The synthesised honeypot id from list_honeypots in {network_id}:{ip} form. |
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |
dry_run | boolean | no | false | True skips token generation and returns the legacy {"dry_run": true, ...} envelope. False (default) generates a preview token that must be confirmed. |