Skip to content

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.

list_port_profiles(controller="default")
ParameterTypeRequiredDefaultDescription
controllerstringno”default”Name of the UniFi controller to target. Defaults to "default".