getOrganizationDevices
List network-assigned Meraki devices in an organization, with optional filters for network, model, serial, MAC, tags, and product type.
Instructions
List the devices in an organization that have been assigned to a network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | Optional parameter to filter devices by MAC address. All returned devices will have a MAC address that contains the search term or is an exact match. | |
| macs | No | Optional parameter to filter devices by one or more MAC addresses. All returned devices will have a MAC address that is an exact match. | |
| name | No | Optional parameter to filter devices by name. All returned devices will have a name that contains the search term or is an exact match. | |
| tags | No | Optional parameter to filter devices by tags. | |
| model | No | Optional parameter to filter devices by model. All returned devices will have a model that contains the search term or is an exact match. | |
| models | No | Optional parameter to filter devices by one or more models. All returned devices will have a model that is an exact match. | |
| serial | No | Optional parameter to filter devices by serial number. All returned devices will have a serial number that contains the search term or is an exact match. | |
| perPage | No | The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000. | |
| serials | No | Optional parameter to filter devices by one or more serial numbers. All returned devices will have a serial number that is an exact match. | |
| networkIds | No | Optional parameter to filter devices by network. | |
| endingBefore | No | A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. | |
| productTypes | No | Optional parameter to filter devices by product type. Valid types are wireless, appliance, switch, systemsManager, camera, cellularGateway, sensor, wirelessController, campusGateway, and secureConnect. | |
| sensorMetrics | No | Optional parameter to filter devices by the metrics that they provide. Only applies to sensor devices. | |
| startingAfter | No | A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. | |
| organizationId | Yes | Organization ID | |
| tagsFilterType | No | Optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected. | |
| sensorAlertProfileIds | No | Optional parameter to filter devices by the alert profiles that are bound to them. Only applies to sensor devices. | |
| configurationUpdatedAfter | No | Filter results by whether or not the device's configuration has been updated after the given timestamp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |