Change the WLAN SSID

To change SSID of the WLAN named test-1 within the cfg resource:

  1. Log in to the REST API server using valid management user credentials.
    Note

    Note

    You must forward the auth_token as a cookie with each API call.
  2. Use the PUT method to access the /cfg/wlan/ URI and change WLAN configuration.
    Note

    Note

    The WiNG API, in its current form does not differentiate between PUT and POST methods. The API behaves the same way for both requests.

    Sample Request

    curl -X PUT --cookie auth_token=$cookie -k https://10.190.50.43/rest/v1/cfg/wlan/test-1/ssid -d '"newssid"'

    Sample Response (200 OK)

    {    
    "return_code": 0
    }