cancel
Showing results for 
Search instead for 
Did you mean: 

Create & Export WLANs via API

abiel_bermudez
RUCKUS Team Member

In this article, we will explore the process of utilizing the new Ruckus Cloud APIs to create or export WLANs using Postman.

First of all, you need to get the JWT, reference: Ruckus Cloud API - Authentication Using JWT. Once the JWT has been obtained and configured as an Environment variable, you can start using the following APIs:

Create WLAN

1. Setup the API Call

abiel_bermudez_2-1683567446043.png

2. Go to Authorization, select Bearer Token and set the JWT variable that it's in the Environment 

abiel_bermudez_1-1683567398346.png

3. Go to Body, select raw and JSON format 

abiel_bermudez_3-1683567576610.png

3.1. Then, copy and paste within the Body this template for a PSK network example

{
    "name": "PSK-API",
    "type": "psk",
    "wlan": {
        "wlanSecurity": "WPA2Personal",
        "advancedCustomization": {
            "userUplinkRateLimiting"0,
            "userDownlinkRateLimiting"0,
            "totalUplinkRateLimiting"0,
            "totalDownlinkRateLimiting"0,
            "maxClientsOnWlanPerRadio": 100,
            "enableBandBalancing": true,
            "clientIsolation": false,
            "clientIsolationOptions": {
                "autoVrrp"false
            },
            "hideSsid": false,
            "forceMobileDeviceDhcp"false,
            "clientLoadBalancingEnable": true,
            "directedThreshold"5,
            "enableNeighborReport"true,
            "enableFastRoaming": false,
            "mobilityDomainId"1,
            "radioCustomization": {
                "rfBandUsage": "BOTH",
                "bssMinimumPhyRate""default",
                "phyTypeConstraint""OFDM",
                "managementFrameMinimumPhyRate""6"
            },
            "enableSyslog"false,
            "clientInactivityTimeout": 120,
            "accessControlEnable"false,
            "respectiveAccessControl"true,
            "applicationPolicyEnable"false,
            "l2AclEnable"false,
            "l3AclEnable"false,
            "wifiCallingEnabled"false,
            "proxyARP"false,
            "enableAirtimeDecongestion"false,
            "enableJoinRSSIThreshold"false,
            "joinRSSIThreshold": -85,
            "enableTransientClientManagement"false,
            "joinWaitTime"30,
            "joinExpireTime"300,
            "joinWaitThreshold"10,
            "enableOptimizedConnectivityExperience"false,
            "broadcastProbeResponseDelay"15,
            "rssiAssociationRejectionThreshold"-75,
            "enableAntiSpoofing"false,
            "enableArpRequestRateLimit"true,
            "arpRequestRateLimit"15,
            "enableDhcpRequestRateLimit"true,
            "dhcpRequestRateLimit"15,
            "dnsProxyEnabled"false
        },
        "macAddressAuthentication"false,
        "macAuthMacFormat""UpperDash",
        "managementFrameProtection""Disabled",
        "vlanId": 30,
        "ssid": "PSK-API",
        "enabled": true,
        "passphrase": "ruckus123"
    }
}

3.2. Click on Beautify to apply the JSON format to the template

abiel_bermudez_0-1683570479632.png

4. Finally, click on Send to create the WLAN. To verify the results you can login into your Ruckus Cloud Portal and check the WLAN created, then select on which Venue(s) you need to broadcast it.

Note: From the documentation you can find the type of networks that can be created via API, just select the type, then copy and paste the payload and setup the paraments 

Export WLANs

1. Setup the API Call

abiel_bermudez_1-1683571382511.png

2. Go to Authorization, select Bearer Token and set the JWT variable that it's in the Environment 

abiel_bermudez_1-1683567398346.png

3. Click on Send to get the configuration (backup) from all your existing WLANs in Cloud.

Got questions? Start the conversation!

0 REPLIES 0