confirm_destructive_action
confirm_destructive_action
Section titled “confirm_destructive_action”Execute a queued destructive action by its preview token.
Side effects:
- Runs the mutation that was previewed (delete VLAN, WLAN, firewall rule, port profile, port forward, or static DHCP lease).
- Removes the token from the in-process pending-actions registry. A second call with the same token returns an error.
Example
Section titled “Example”confirm_destructive_action(token="3f1a...")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
token | string | yes | — | The token field from a previous destructive tool’s preview envelope. Tokens expire 5 minutes after issuance. |