List connected wireless clients
list_wifi_clientsList wireless clients associated on a FortiGate and resolve each MAC against DHCP and ARP data to reveal hostnames and vendor names.
Instructions
List wireless clients currently associated, enriched with DHCP and ARP.
Each client is joined against the DHCP lease and ARP tables by MAC, which is what turns an anonymous MAC into a recognizable device. The hostname comes from the DHCP lease, falling back to the vendor class identifier when the client sent no name. MAC addresses are reported in one canonical lowercase colon-separated form whatever spelling the source used, since that is what makes the join work at all.
authenticated is true or false only when the appliance said so, and
absent when it did not, because inferring "not authenticated" from a
missing field would fabricate a security-relevant claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssid | No | Keep only clients associated to this SSID, matched exactly. `filtered_out` reports how many clients it removed. | |
| vdom | No | Virtual domain to read. Defaults to the one configured for this target. The `vdom` field in the response names the one actually read. | |
| limit | No | Maximum rows to return. Defaults to 200, capped at 1000. | |
| offset | No | Index to start from, for paging through a large table. | |
| target | No | Which FortiGate to query. Optional when only one is configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||