countOrgWirelessClients
GET https://{{host}}/api/v1/orgs/:org_id/clients/count?distinct=hostname
Query Parameters
Parameter | Type | Description |
---|---|---|
distinct | string | ssid, ap, ip, vlan, hostname, os, model, device, default is device |
NOTE: the filters from /clients/search can also be used. E.g. /clients/count?device=iphone&distinct=os
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
distinct | string |
RESPONSES
status: OK
{"results":[{"hostname":["jerry"],"ap":["5c5b350e0492","5c5b350eb39d","5c5b350e03c0"],"ip":["192.168.5.43","192.168.20.125"],"vlan":[1],"mac":"60f81dd250cc","device":["Mac"],"os":["Sierra","High Sierra"],"model":["","MBP 15\" late 2013"],"ssid":["Guest"]}]}