Cisco Meraki Switch API
The switch API from Cisco Meraki — 56 operation(s) for switch.
Operations 102
GET
/devices/{serial}/switch/ports/statuses/packets
Return the packet counters for all the ports of a switch
#
GET
/devices/{serial}/switch/routing/interfaces/{interfaceId}
Return a layer 3 interface for a switch
#
PUT
/devices/{serial}/switch/routing/interfaces/{interfaceId}
Update a layer 3 interface for a switch
#
DELETE
/devices/{serial}/switch/routing/interfaces/{interfaceId}
Delete a layer 3 interface from the switch
#
GET
/devices/{serial}/switch/routing/interfaces/{interfaceId}/dhcp
Return a layer 3 interface DHCP configuration for a switch
#
PUT
/devices/{serial}/switch/routing/interfaces/{interfaceId}/dhcp
Update a layer 3 interface DHCP configuration for a switch
#
GET
/devices/{serial}/switch/routing/staticRoutes/{staticRouteId}
Return a layer 3 static route for a switch
#
PUT
/devices/{serial}/switch/routing/staticRoutes/{staticRouteId}
Update a layer 3 static route for a switch
#
DELETE
/devices/{serial}/switch/routing/staticRoutes/{staticRouteId}
Delete a layer 3 static route for a switch
#
GET
/networks/{networkId}/switch/accessControlLists
Return the access control lists for a MS network
#
PUT
/networks/{networkId}/switch/accessControlLists
Update the access control lists for a MS network
#
GET
/networks/{networkId}/switch/accessPolicies/{accessPolicyNumber}
Return a specific access policy for a switch network
#
PUT
/networks/{networkId}/switch/accessPolicies/{accessPolicyNumber}
Update an access policy for a switch network
#
DELETE
/networks/{networkId}/switch/accessPolicies/{accessPolicyNumber}
Delete an access policy for a switch network
#
GET
/networks/{networkId}/switch/alternateManagementInterface
Return the switch alternate management interface for the network
#
PUT
/networks/{networkId}/switch/alternateManagementInterface
Update the switch alternate management interface for the network
#
GET
/networks/{networkId}/switch/dhcp/v4/servers/seen
Return the network's DHCPv4 servers seen within the selected timeframe (default 1 day)
#
GET
/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers
Return the list of servers trusted by Dynamic ARP Inspection on this network
#
POST
/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers
Add a server to be trusted by Dynamic ARP Inspection on this network
#
PUT
/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers/{trustedServerId}
Update a server that is trusted by Dynamic ARP Inspection on this network
#
DELETE
/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers/{trustedServerId}
Remove a server from being trusted by Dynamic ARP Inspection on this network
#
GET
/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/warnings/byDevice
Return the devices that have a Dynamic ARP Inspection warning and their warnings
#
PUT
/networks/{networkId}/switch/linkAggregations/{linkAggregationId}
Update a link aggregation group
#
DELETE
/networks/{networkId}/switch/linkAggregations/{linkAggregationId}
Split a link aggregation group into separate ports
#
GET
/networks/{networkId}/switch/qosRules/order
Return the quality of service rule IDs by order in which they will be processed by the switch
#
PUT
/networks/{networkId}/switch/qosRules/order
Update the order in which the rules should be processed by the switch
#
GET
/networks/{networkId}/switch/routing/multicast/rendezvousPoints
List multicast rendezvous points
#
POST
/networks/{networkId}/switch/routing/multicast/rendezvousPoints
Create a multicast rendezvous point
#
GET
/networks/{networkId}/switch/routing/multicast/rendezvousPoints/{rendezvousPointId}
Return a multicast rendezvous point
#
DELETE
/networks/{networkId}/switch/routing/multicast/rendezvousPoints/{rendezvousPointId}
Delete a multicast rendezvous point
#
PUT
/networks/{networkId}/switch/routing/multicast/rendezvousPoints/{rendezvousPointId}
Update a multicast rendezvous point
#
GET
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces
List layer 3 interfaces for a switch stack
#
POST
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces
Create a layer 3 interface for a switch stack
#
GET
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces/{interfaceId}
Return a layer 3 interface from a switch stack
#
PUT
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces/{interfaceId}
Update a layer 3 interface for a switch stack
#
DELETE
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces/{interfaceId}
Delete a layer 3 interface from a switch stack
#
GET
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces/{interfaceId}/dhcp
Return a layer 3 interface DHCP configuration for a switch stack
#
PUT
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces/{interfaceId}/dhcp
Update a layer 3 interface DHCP configuration for a switch stack
#
GET
/networks/{networkId}/switch/stacks/{switchStackId}/routing/staticRoutes
List layer 3 static routes for a switch stack
#
POST
/networks/{networkId}/switch/stacks/{switchStackId}/routing/staticRoutes
Create a layer 3 static route for a switch stack
#
GET
/networks/{networkId}/switch/stacks/{switchStackId}/routing/staticRoutes/{staticRouteId}
Return a layer 3 static route for a switch stack
#
PUT
/networks/{networkId}/switch/stacks/{switchStackId}/routing/staticRoutes/{staticRouteId}
Update a layer 3 static route for a switch stack
#
DELETE
/networks/{networkId}/switch/stacks/{switchStackId}/routing/staticRoutes/{staticRouteId}
Delete a layer 3 static route for a switch stack
#
GET
/networks/{networkId}/switch/stormControl
Return the storm control configuration for a switch network
#
PUT
/networks/{networkId}/switch/stormControl
Update the storm control configuration for a switch network
#
GET
/organizations/{organizationId}/configTemplates/{configTemplateId}/switch/profiles
List the switch templates for your switch template configuration
#
GET
/organizations/{organizationId}/configTemplates/{configTemplateId}/switch/profiles/{profileId}/ports
Return all the ports of a switch template
#
GET
/organizations/{organizationId}/configTemplates/{configTemplateId}/switch/profiles/{profileId}/ports/{portId}
Return a switch template port
#
PUT
/organizations/{organizationId}/configTemplates/{configTemplateId}/switch/profiles/{profileId}/ports/{portId}
Update a switch template port
#
GET
/organizations/{organizationId}/summary/switch/power/history
Returns the total PoE power draw for all switch ports in the organization over the requested timespan (by default the last 24 hours)
#
POST
/organizations/{organizationId}/switch/devices/clone
Clone port-level and some switch-level configuration settings from a source switch to one or more target switches
#
GET
/organizations/{organizationId}/switch/ports/bySwitch
List the switchports in an organization by switch
#
GET
/organizations/{organizationId}/switch/ports/clients/overview/byDevice
List the number of clients for all switchports with at least one online client in an organization.
#
GET
/organizations/{organizationId}/switch/ports/overview
Returns the counts of all active ports for the requested timespan, grouped by speed
#
GET
/organizations/{organizationId}/switch/ports/statuses/bySwitch
List the switchports in an organization
#
GET
/organizations/{organizationId}/switch/ports/topology/discovery/byDevice
List most recently seen LLDP/CDP discovery and topology information per switch port in an organization.
#
GET
/organizations/{organizationId}/switch/ports/usage/history/byDevice/byInterval
List the historical usage and traffic data of switchports in an organization.
#