delete_port_forward
Delete a port forwarding rule from a UniFi site by specifying its ID, host, and site. Clears unwanted inbound port mappings to restore network security.
Instructions
Delete a port forwarding rule by ID.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.
forward_id: REQUIRED. Obtain it from list_port_forwards (its id field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| forward_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |