unifi_list_traffic_matching_lists
List traffic matching lists (port or IP groups) at a UniFi site to obtain their IDs for referencing in firewall or ACL policies.
Instructions
List traffic matching lists at a site — named collections of ports or IPs reused in firewall/ACL rules. Returns: id, type (PORTS/IPV4_ADDRESSES/IPV6_ADDRESSES), name, items[]. Use for: finding the matching-list ID to reference from a firewall policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of records to return (default: 25, max: 200) | |
| filter | No | Filter expression | |
| offset | No | Number of records to skip (default: 0) | |
| siteId | Yes | Site ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| count | No | ||
| limit | No | ||
| offset | No | ||
| totalCount | No |