Hello,
I was able to replicate your scenario where an SSID has never been configured and is not taking the RADIUS related attributes. If the SSID has RADIUS enabled or at one point did, the API calls will work. If its a brand new SSID configuration, you will receive the following error or similar if accounting is used.
{
"errors": [
"Validation failed: Radius failover policy can't be blank, Radius loadbal policy can't be blank"
]
}
This is likely because of the failover and load balancing policies have been set in the Dashboard by default when RADIUS is enabled. The defaults are then available for the API to function going forward.
These API endpoint parameters do not currently exist.
"radiusFailoverPolicy": "deny",
"radiusLoadbalPolicy": "priority",
We have reported the scenario to Meraki engineering. If you would like to track this issue, please open a Meraki support case and refer to this thread.
Hope this helps!
-Cory
FYI, this is the JSON I tested
[PUT] https://n143.meraki.com/api/v0/networks/{{networkId}}/ssids/5
{
"name": "splash radius test",
"enabled": false,
"splashPage": "Password-protected with custom RADIUS",
"authMode": "open",
"radiusServers": [
{
"host": "1.2.3.4",
"port": 1812,
"secret": "supersecret"
}
],
"radiusAccountingEnabled": true,
"radiusAccountingServers": [
{
"host": "1.2.3.4",
"port": 1813,
"secret": "supersecret"
}
],
"ipAssignmentMode": "NAT mode",
"walledGardenEnabled": true,
"walledGardenRanges": "*.github.io",
"minBitrate": 1,
"bandSelection": "Dual band operation",
"perClientBandwidthLimitUp": 0,
"perClientBandwidthLimitDown": 0
}
Response
{
"errors": [
"Validation failed: Radius failover policy can't be blank, Radius loadbal policy can't be blank"
]
}
Note: RADIUS accounting is not available by default and must be enabled via a Meraki Support case.