- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to find Client policy
Hello,
Int he dashboard if you go to "clients" and then drill down into an individual client, there is a section for "policy" where you can choose various policies for that specific client.
I need to create a API report that will give me a list of all clients and the policy they are using.
I tried /networks/{networkId}/clients
which returns (among other things) "adaptivePolicyGroup" and "groupPolicy8021x" but neither of these seem to be the particular policy im looking for as these all return blank and thee should always be a value as the default policy value is "normal"
Any ideas where to look?
cheers
Solved! Go to solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hot damn lol
luckily I just noticed the client list in the dashboard has a policy column so i can just grab a csv from there. At the moment I only need 3 networks so its ok.
Hopefully I wont ever need to do a lot of networks at once 😛
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://developer.cisco.com/meraki/api-v1/get-network-client-policy/
And to answer your next question.
https://developer.cisco.com/meraki/api-v1/get-network-group-policies/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cheers for the info!, but holy crap do I have to do a call for every single client ?!? (there are thousands of them)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes.
I have scripts that have have to do tens of thouands of API calls because of this.
One. For. Every. Client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hot damn lol
luckily I just noticed the client list in the dashboard has a policy column so i can just grab a csv from there. At the moment I only need 3 networks so its ok.
Hopefully I wont ever need to do a lot of networks at once 😛
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, you can run these API operations instead. I like the one in Early Access a little better:
GA: https://developer.cisco.com/meraki/api-v1/get-network-policies-by-client/
EA: https://developer.cisco.com/meraki/api-v1/get-organization-policies-assignments-by-client/
FYI @PhilipDAth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OMG. This API call in particular is going to save a LOT of time in some of my scripts.
https://developer.cisco.com/meraki/api-v1/get-network-policies-by-client/
