200-901 Question 94
Select 2You are tasked with retrieving a list of clients connected to a Meraki network for an analytics dashboard. Which API endpoint(s) and method(s) would you use to achieve this using the Meraki Dashboard API?
- A
GET /networks/{networkId}/clients
- B
GET /devices/{serial}/clients
- C
POST /networks/{networkId}/clients
- D
GET /networks/{networkId}/devices
- E
GET /organizations/{organizationId}/clients
Show answer and explanation
Correct answers: A, B
Explanation
To retrieve a list of clients seen on a network using the Meraki Dashboard API, you can use the GET /networks/{networkId}/clients endpoint for network-wide client data or the GET /devices/{serial}/clients endpoint for clients connected to a specific device. These endpoints provide detailed information about the clients, such as MAC address, IP address, and connectivity details. Other endpoints, such as POST methods or organization-level client endpoints, are not valid for this purpose.
- A. Correct.
Correct. This endpoint retrieves a list of clients seen on a specific network by using the network ID.
- B. Correct.
Correct. This endpoint retrieves a list of clients connected to a specific device using the device's serial number.
- C. Incorrect.
Incorrect. The POST method is not used to retrieve data, but to create or modify resources. This endpoint doesn't exist for this purpose.
- D. Incorrect.
Incorrect. This endpoint retrieves a list of devices within a network, not the clients connected to it.
- E. Incorrect.
Incorrect. There is no such endpoint as /organizations/{organizationId}/clients in the Meraki Dashboard API. Clients are scoped at the network or device level, not the organization level.