I need help with blocking a device from a specific SSID using API.
There is an option to do so in the Meraki UI by selecting the client:
It does the work just fine. I am looking to find a way to do the same using an API request.
checking client policy by
/networks/[networkId]/clients/[client_mac]/policy
Before changing:
{
"mac": "__MAC___",
"type": "Normal"
}
After changing
{
"mac": "__MAC___",
"type": "Different policies by SSID",
"ssids": {
"0": {
"type": "Normal",
"name": "SSID_Name0"
},
"1": {
"type": "Normal",
"name": "SSID_Name1"
},
"3": {
"type": "Blocked",
"name": "SSID_Name3"
}
}
}
I know I can send a request with device policy being whitelisted/blocked/normal/group, but I aim for "Different policies by SSID" or any other way to achieve it, if anyone knows.
Thanks in advance