List Layer 3 Static Routes For A Switch

GET {{baseUrl}}/devices/:serial/switch/routing/staticRoutes

List layer 3 static routes for a switch

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull

RESPONSES

status: OK

[{"staticRouteId":"1234","name":"My route","subnet":"192.168.1.0/24","nextHopIp":"1.2.3.4","advertiseViaOspfEnabled":false,"preferOverOspfRoutesEnabled":false}]