04-27-2017 11:28 AM
I add a wpa key to a profile and did a get profile and did not see a password keyword. Do we have the ability to create the WPA PSK key via API?
Thanks
Vince
04-27-2017 11:50 AM
Because we wanted to keep the GET data/WlanTemplates resource available to non-privileged users, we did not include the key information itself in the response. However, you should see wpaSecurityEnabled and one of the wpaAuthenticationKeyManagement response parameters showing as true (for example, wpaAuthenticationKeyManagementPsk).
The API has a very limited set of WLAN template features that it can configure when creating or updating templates. Unfortunately, WPA security is not among them.
That said, the API can deploy WLAN templates (via PUT op/wlanProvisioning/deployTemplate) regardless of whether the template was created or updated by the UI or the API.
I hope that helps
04-27-2017 11:57 AM
Thanks again Spencer! Certainly the answer I was not hoping to hear. It is kind of useless to create an SSID without the PSK. The PSK=true does show. I suppose my only recourse is a cli template, yuck.
Is the only template variables we support are what's in the API docs?
Vince
04-27-2017 12:08 PM
Yes, the API docs (the ones available on your appliance at /webacs/api/v1) are exhaustive and authoritative on what the public API supports. The only request parameters the API is looking for are the documented ones.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide