@DexterLaBora wrote: You might be looking at per-SSID policies. The Dashboard API can set a client device to a Group Policy but not specific to an SSID. If you just need to block a user, then set a Group Policy to the device with strict limits or just set it to "Blocked" Related API endpoints You can find the available Group Policies for a network and their respective ID https://developer.cisco.com/meraki/api/#/rest/api-endpoints/group-policies/get-network-group-policies To assign a policy to a new or existing client https://developer.cisco.com/meraki/api/#/rest/api-endpoints/clients/happy wheelsprovision-network-clients To assign a policy to an existing client only https://developer.cisco.com/meraki/api/#/rest/api-endpoints/clients/update-network-client-policy important params devicePolicy String The policy to apply to the specified client. Can be 'Whitelisted', 'Blocked', 'Normal' or 'Group policy'. Required. groupPolicyId String The ID of the desired group policy to apply to the client. Required if 'devicePolicy' is set to "Group policy". Otherwise this is ignored. Example using the provision endpoint (works for all clients) POST /networks/{networkId}/clients/provision Body: Provision as Blocked {
"mac": "00:11:22:33:44:55",
"name": "Miles's phone",
"devicePolicy": "Blocked"
} Body: Provision as Group Policy {
"mac": "00:11:22:33:44:55",
"name": "Miles's phone",
"devicePolicy": "Group policy",
"groupPolicyId": "99"
} Hope this helps! This worked great. I've been digging into this for over an hour! Thanks.
... View more