I'm wanting to automate a call to update my psks in a given network id. I have the networkId and the ssid's 'number' but I can't seem to get the identityPskId that I would need to put the new psk in the Update Network Wireless Ssid Identity Psk call. When I make the call to get the identityPskId all I get is [].
Solved! Go to solution.
https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid
Hi ,
When using getNetworkWirelessSsids ( https://developer.cisco.com/meraki/api-latest/#!get-network-wireless-ssids) I can list all my SSIDs in a specific network. My SSID #2 returns :
{"number":2,"name":"XXXX","enabled":true,"splashPage":"None","ssidAdminAccessible":false,"authMode":
"ipsk-without-radius" ...}
Then I can simply use the getNetworkWirelessSsidIdentityPsks endpoint ( https://developer.cisco.com/meraki/api-latest/#!get-network-wireless-ssid-identity-psks ) which successfully retrieves the psks :
[{"id":"X","name":"X","groupPolicyId":114,"passphrase":"X"},{"id":"X","name":"X","groupPolicyId":113,"passphrase":"X"},]
Hope that helps !
Oh I think I see my problem now. I'm just using an psk and not ipsk-without-radius
The question now, is there an api to change just an ssid using authmode psk
https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid
It's not liking my api call because of certain fields not filled out. I'm just setting up a guest psk using a splash-page with click through.
"'concentrator' is missing the following required properties: 'host'"
It's working in my org using this format
networks/L_(my network string)/wireless/ssids/2/identityPsks
SSID 2 is my IPSK SSID