05-09-2023 12:55 PM - edited 02-13-2024 07:06 AM
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:
1. Setup the API Call:
2. Go to Authorization, select Bearer Token and set the JWT variable that it's in the Environment
3. Go to Body, select raw and JSON format
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
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
1. Setup the API Call:
2. Go to Authorization, select Bearer Token and set the JWT variable that it's in the Environment
3. Click on Send to get the configuration (backup) from all your existing WLANs in Cloud.
Got questions? Start the conversation!