I have a working API that is pulling the status of all SSIDs in my network. Everything is working well except when I add the last line below to pull the radiusServer host. Can anyone correct me on the syntax to pull the radius host ip or url?
when Radius is enabled on SSID the result dict will have a key "radiusServers" which will contain a list of dicts, for every radius server, however, if the SSID does not have Radius active then the key will not exist and you can't address it via [""].
ssids = dashboard.wireless.getNetworkWirelessSsids(networkId)
for ssid in ssids:
radius_server_list = 
if ssid.get("radiusServers"): #Only execute if radiusServers key exists
for server in ssid.get("radiusServers"):