cancel
Showing results for 
Search instead for 
Did you mean: 

Update AP name through API

rishabh_khosla
New Contributor II

Hi,

I want to update the AP name within the zone through an API. I have tried http://docs.ruckuswireless.com/smartzone/5.2.0/vsze-public-api-reference-guide-520.html#access-point... this API but the name has not changed. From the API I got the 204 response but when I am looking at the interface, it is still showing the older name of the AP.

Could you please let me know if I am using the right API call or is there any specific criteria which should be matched to update the name of the AP?

Thanks for the help!

2 ACCEPTED SOLUTIONS

Not applicable

Hi Rishabh,

Here's the example API call used to change AP Name. Please try and update us.

PATCH: https://<SZ_IP>:8443/wsg/api/public/v9_0/aps/<AP_MAC>

{
"zoneId": "6dd9c265-81a1-4866-950c-3f85a0789e72",
"apGroupId": "37384728-85ae-4320-ab47-abff53a1b7be",
"name": "changed_name",
"description": "apDescription"
}

Regards,

Parikshith

View solution in original post

rishabh_khosla
New Contributor II

Hi @syamantak_omer 

Thank you so much for the reply. When I login into the controller with incognito window, I got the updated name display on the screen. I think it was the caching issue of the browser earlier.

Regarding the commands you have mentioned above, I have no idea where to run that commands. We are doing all the operations through an API only.

Thanks for the help

Rishabh Khosla

View solution in original post

8 REPLIES 8

Not applicable

Hi Rishabh,

Here's the example API call used to change AP Name. Please try and update us.

PATCH: https://<SZ_IP>:8443/wsg/api/public/v9_0/aps/<AP_MAC>

{
"zoneId": "6dd9c265-81a1-4866-950c-3f85a0789e72",
"apGroupId": "37384728-85ae-4320-ab47-abff53a1b7be",
"name": "changed_name",
"description": "apDescription"
}

Regards,

Parikshith

rishabh_khosla
New Contributor II

Hi Parik,

Thanks for the help. I have tried the above API call parameters as well but still not able to update the name.

The only difference is the version of the my Ruckus device is v8_2 and currently it's status is Offline. Does it impact the name updation? 

Here is my API call:

https://SZ-IP/wsg/api/public/v8_2/aps/{APMAC}?serviceTicket={ServiceTicket}

{
    "zoneId""zone id",
    "apGroupId""id of the group",
    "name""Rishabh",
    "description""Test AP"
}

Image_ images_messages_5ff45cb1024db517c7680691_0d0749a4f3857c76ea771fbe2b030a42_Ruckus_Wireless_SmartZone_100-3d88e3e7-6380-4a57-bebf-3a285ed77dc8-1422805303.png

Thanks

Rishabh Khosla

rishabh_khosla
New Contributor II

I just checked, the modify API is updating the name of the AP but that name is not reflecting on the device. On the device AP list, it is still showing the older name.

I first make the call to update the name and then make the call to fetch the AP details and in that call I got the updated name.

Do we need to make any other call or pass any extra parameter which will reflect the updated name on the device as well?

@rishabh_khosla

On SZ GUI, upon page refresh you should be able to see the updated AP name. Also try logout from SZ and login again.

Regards,

Parikshith