List The Switch Ports For A Switch

GET {{baseUrl}}/devices/:serial/switch/ports

List the switch ports for a switch

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull

RESPONSES

status: OK

[{"portId":"1","name":"My switch port","tags":["tag1","tag2"],"enabled":true,"poeEnabled":true,"type":"access","vlan":10,"voiceVlan":20,"isolationEnabled":false,"rstpEnabled":true,"stpGuard":"disabled","linkNegotiation":"Auto negotiate","portScheduleId":"1234","udld":"Alert only","accessPolicyType":"Sticky MAC allow list","stickyMacAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"stickyMacAllowListLimit":5,"stormControlEnabled":true}]