list_port_profiles
list_port_profiles
Section titled “list_port_profiles”List switch port profiles configured on the controller.
Side effects: None (read-only).
Port profiles control PoE, native VLAN, tagged VLANs, and STP per
switch port. Returns one record per profile with _id, name,
native_networkconf_id, forward, and poe_mode. Use these
IDs when assigning ports on a switch.
Example
Section titled “Example”list_port_profiles(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". |