cancel
Showing results for 
Search instead for 
Did you mean: 

editing a wlan through api

Niacom
New Contributor

Hello,

I am stuck on trying to update an existing WLAN and am hoping someone can steer me towards the right direction. I am using this guide:
https://docs.ruckuswireless.com/smartzone/5.2.0/vsze-public-api-reference-guide-520.html#top 

I am using Zapier webhooks, I am able to login as well as pull the wlan data through the API, but I cannot seem to figure out what is needed for updating an existing wlan. I am using this call:
[WLAN] Modify

PATCH/v9_0/rkszones/{zoneId}/wlans/{id}

Use this API command to modify the configuration of a WLAN.

I set my zap as a patch, add in the proper url with the ZONEID and wlan ID filled in. I have confirmed these by viewing the wlan in zapier using these keys to extract the data.

The part I feel I need assistance from is what needs to be in the body of the request.. The docs have every possible field in the schema, but to just edit a portion I assume you dont need the entire json schema, so i tried this:

{
"ssid": "TestSSID",
"encryption": {
"method": "WPA2",
"algorithm": "AES",
"passphrase": "TestPass"
},
"flexiVpnProfile": {
"zoneAffinityId": "ca1edc50-c839-11e6-afc9-525400da2f0d"
}
}

 

but I get back a "your session has timed out" error. This seems to be the default error as I get this on all other requests until i figure out what is exactly needed.

does anyone know what is needed to get the api call to work in zapier?

Thank you,

Bob

2 REPLIES 2

nicholas_castin
New Contributor II

error

vijaykuniyal
RUCKUS Team Member

Hi Nicholas,

If possible can you share the screenshot of error.


Vijay Kuniyal

Staff Technical Support Engineer

CCNA RnS | CCNA Wireless | CWNA | RASZA | Meraki CMNO | RACPA