Skip to content

Switch Services (0.4.0)

Overview

The Switch Service REST API facilitates the management and configuration of RUCKUS ICX switches via the RUCKUS One platform. This API allows for programmatic control of switch operations, network configurations, security policies, and monitoring across various environments.

What This API Does

  • Manage ICX switch devices and their configurations
  • Configure network settings including VLANs, ports, LAGs, and virtual ethernet interfaces
  • Control security policies with AAA servers, ACLs, and trusted port settings
  • Create and apply switch profiles and templates for consistent configurations
  • Handle firmware upgrades and configuration backups
  • Configure DHCP servers and static routing
  • Import and onboard new switches to the platform
  • Manage CLI templates and web authentication pages

Authentication

All API calls require valid authentication via JWT (JSON Web Token) in Authorization header.

Regional Endpoints

Select the appropriate API endpoint based on your region:

  • North America: https://api.ruckus.cloud
  • Europe: https://api.eu.ruckus.cloud
  • Asia: https://api.asia.ruckus.cloud

Error Handling

The API uses standard HTTP status codes with detailed error messages in the response body.

Common Error Responses

All endpoints may return these common error responses:

  • 400 Bad Request: Invalid input data or validation errors
  • 401 Unauthorized: Missing or invalid authentication
  • 403 Forbidden: Insufficient permissions
  • 404 Not Found: Requested resource doesn't exist
  • 422 Unprocessable Entity: Business rule violations
  • 500 Internal Server Error: Unexpected server errors.
Download OpenAPI description
Languages
Servers
RUCKUS One API host for North American region.
https://api.ruckus.cloud
RUCKUS One API host for European region.
https://api.eu.ruckus.cloud
RUCKUS One API host for Asian region.
https://api.asia.ruckus.cloud

AAA Server

Manage AAA (authentication, authorization, and accounting) servers.

Operations

AAA Setting

Manage AAA (authentication, authorization, and accounting) settings.

Operations

Command Line Interface Template

Manage command line interface templates.

Operations

Configuration History

Retrieve switch configuration history records.

Operations

DHCP Server

Manage ICX DHCP servers.

Operations

ICX Switch

Manage ICX switch settings.

Operations

Import Switch

Import and register new switches.

Operations

LAG

Manage LAGs (link aggregation groups).

Operations

Profile

Manage switch profiles and profile configurations.

Operations

Profile Template

Manage switch profile templates.

Operations

Profile VLAN

Manage VLANs (virtual local area networks) of switch profile.

Operations

Switch Access Control List

Manage ACLs (access control lists).

Operations

Switch Configuration Backup

Manage switch configuration backups and restore operations.

Operations

Switch Firmware Upgrade

Manage switch firmware upgrade and scheduling operations.

Operations

Switch Ports

Manage switch port configurations.

Operations

Switch Static Routes

Manage static route configurations.

Operations

Get Static Route

Request

Get the specified static route.

Security
jwtAuth
Path
venueIdstringrequired
switchIdstringrequired
staticRouteIdstringrequired
No request payload

Responses

OK

Body
idstring
destinationIpstring^[0-9a-fA-F:.]+/[0-9]{1,3}$required

The destination IP address in CIDR notation. For IPv4: '192.168.10.0/24', For IPv6: '2001:db8::/32'.

nextHopstring^[0-9a-fA-F:.]+$required

The IP address of the next hop gateway to route traffic. For IPv4: '192.168.1.1', For IPv6: '2001:db8::1'.

adminDistanceinteger(int32)[ 1 .. 255 ]

The administrative distance value for route preference, with lower values having higher priority.

Response
{ "id": "string", "destinationIp": "string", "nextHop": "string", "adminDistance": 1 }

Update Static Route

Request

Update the specified static route.

Security
jwtAuth
Path
venueIdstringrequired
switchIdstringrequired
staticRouteIdstringrequired
Bodyrequired
idstring
destinationIpstring^[0-9a-fA-F:.]+/[0-9]{1,3}$required

The destination IP address in CIDR notation. For IPv4: '192.168.10.0/24', For IPv6: '2001:db8::/32'.

nextHopstring^[0-9a-fA-F:.]+$required

The IP address of the next hop gateway to route traffic. For IPv4: '192.168.1.1', For IPv6: '2001:db8::1'.

adminDistanceinteger(int32)[ 1 .. 255 ]

The administrative distance value for route preference, with lower values having higher priority.

{ "id": "string", "destinationIp": "string", "nextHop": "string", "adminDistance": 1 }

Responses

OK

Body
requestIdstring

The unique identifier for tracking this API operation request.

responseobject(StaticRoute_V1_1)

The response data containing the result of the operation.

Response
{ "requestId": "string", "response": { "id": "string", "destinationIp": "string", "nextHop": "string", "adminDistance": 1 } }

Delete Static Route

Request

Delete the specified static route.

Security
jwtAuth
Path
venueIdstringrequired
switchIdstringrequired
staticRouteIdstringrequired
No request payload

Responses

OK

Body
requestIdstring

The unique identifier for tracking this API operation request.

responseobject(EmptyView)

The response data containing the result of the operation.

Response
{ "requestId": "string", "response": { "id": "string" } }

Get Static Routes

Request

Get multiple static routes of the switch.

Security
jwtAuth
Path
venueIdstringrequired
switchIdstringrequired
No request payload

Responses

OK

BodyArray [
idstring
destinationIpstring^[0-9a-fA-F:.]+/[0-9]{1,3}$required

The destination IP address in CIDR notation. For IPv4: '192.168.10.0/24', For IPv6: '2001:db8::/32'.

nextHopstring^[0-9a-fA-F:.]+$required

The IP address of the next hop gateway to route traffic. For IPv4: '192.168.1.1', For IPv6: '2001:db8::1'.

adminDistanceinteger(int32)[ 1 .. 255 ]

The administrative distance value for route preference, with lower values having higher priority.

]
Response
[ { "id": "string", "destinationIp": "string", "nextHop": "string", "adminDistance": 1 } ]

Add Static Route

Request

Add multiple static routes of the switch.

Security
jwtAuth
Path
venueIdstringrequired
switchIdstringrequired
BodyrequiredArray [
idstring
destinationIpstring^[0-9a-fA-F:.]+/[0-9]{1,3}$required

The destination IP address in CIDR notation. For IPv4: '192.168.10.0/24', For IPv6: '2001:db8::/32'.

nextHopstring^[0-9a-fA-F:.]+$required

The IP address of the next hop gateway to route traffic. For IPv4: '192.168.1.1', For IPv6: '2001:db8::1'.

adminDistanceinteger(int32)[ 1 .. 255 ]

The administrative distance value for route preference, with lower values having higher priority.

]
[ { "id": "string", "destinationIp": "string", "nextHop": "string", "adminDistance": 1 } ]

Responses

Created

Body
requestIdstring

The unique identifier for tracking this API operation request.

responseobject(StaticRoute_V1_1)

The response data containing the result of the operation.

Response
{ "requestId": "string", "response": { "id": "string", "destinationIp": "string", "nextHop": "string", "adminDistance": 1 } }

Delete Static Routes

Request

Delete multiple static routes.

Security
jwtAuth
Path
venueIdstringrequired
switchIdstringrequired
BodyrequiredArray [
string
]
[ "string" ]

Responses

OK

Body
requestIdstring

The unique identifier for tracking this API operation request.

responseobject(EmptyView)

The response data containing the result of the operation.

Response
{ "requestId": "string", "response": { "id": "string" } }

Switch VLAN

Manage VLANs (virtual local area networks).

Operations

Switch Virtual Ethernet

Manage VE (virtual ethernet) port settings.

Operations

Venue Switch Setting

Manage a switch's venue level settings.

Operations

Venue Template AAA Server

Manage venue template AAA (authentication, authorization, and accounting) servers.

Operations

Venue Template AAA Setting

Manage venue template AAA (authentication, authorization, and accounting) settings.

Operations

Venue Template Switch Setting

Manage switch settings of venue template.

Operations

Web Authentication Page Template

Manage web authentication page template.

Operations