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

Associate Command Line Interface Templates

Request

Associate command line interface templates to switches.

Security
jwtAuth
Path
venueIdstringrequired
cliTemplateIdstringrequired
Bodyapplication/jsonrequiredArray [
string
]
application/json
[ "string" ]

Responses

Accepted

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" } }

Disassociate Command Line Interface Templates

Request

Disassociate command line interface templates to switches.

Security
jwtAuth
Path
venueIdstringrequired
cliTemplateIdstringrequired
Bodyapplication/jsonrequiredArray [
string
]
application/json
[ "string" ]

Responses

Accepted

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 Command Line Interface Template

Request

Get a command line interface template by id.

Security
jwtAuth
Path
cliTemplateIdstringrequired
No request payload

Responses

OK

Body
idstring

The identifier

namestring^.{1,64}$

The unique name identifier for this CLI template, limited to 64 characters.

clistring

The CLI command template content containing switch configuration commands and variable placeholders.

variablesArray of objects(CliTemplateVariableBo)unique

The set of variables defined in this CLI template for dynamic configuration value substitution.

reloadboolean

The flag indicating whether the switch should be reloaded after applying this CLI template.

applyLaterboolean

The flag indicating whether to apply this CLI template later rather than immediately.

venueSwitchesArray of objects(AcxCliTemplateSwitches_V1)

The list of venue switch associations indicating which switches in each venue should receive this CLI template.

Response
{ "id": "string", "name": "string", "cli": "string", "variables": [ { … } ], "reload": true, "applyLater": true, "venueSwitches": [ { … } ] }

Update Command Line Interface Template

Request

Update a command line interface template for switches by id.

Security
jwtAuth
Path
cliTemplateIdstringrequired
Bodyrequired
applyLaterboolean

Flag indicating whether to apply the CLI template later rather than immediately (default: false).

clistring

The CLI command template content with variable placeholders (e.g., {{variable_name}}).

idstring

Unique identifier for the CLI template.

namestring^.{1,64}$

Name of the CLI template (1-64 characters).

reloadboolean

Flag indicating whether to reload the switch after applying the CLI commands (default: false).

variablesArray of objects(AcxCliTemplateVariableBo)unique

Set of template variables that can be customized for each switch when applying the CLI template.

venueSwitchesArray of objects(VenueSwitchBo)

List of venue switches to which this CLI template will be applied.

{ "applyLater": true, "cli": "string", "id": "string", "name": "string", "reload": true, "variables": [ { … } ], "venueSwitches": [ { … } ] }

Responses

OK

Body
idstring

The identifier

namestring^.{1,64}$

The unique name identifier for this CLI template, limited to 64 characters.

clistring

The CLI command template content containing switch configuration commands and variable placeholders.

variablesArray of objects(CliTemplateVariableBo)unique

The set of variables defined in this CLI template for dynamic configuration value substitution.

reloadboolean

The flag indicating whether the switch should be reloaded after applying this CLI template.

applyLaterboolean

The flag indicating whether to apply this CLI template later rather than immediately.

venueSwitchesArray of objects(AcxCliTemplateSwitches_V1)

The list of venue switch associations indicating which switches in each venue should receive this CLI template.

Response
{ "id": "string", "name": "string", "cli": "string", "variables": [ { … } ], "reload": true, "applyLater": true, "venueSwitches": [ { … } ] }

Delete Command Line Interface Template

Request

Delete a command line interface template by id.

Security
jwtAuth
Path
cliTemplateIdstringrequired
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" } }

Add Command Line Interface Template

Request

Create a command line interface template for switches.

Security
jwtAuth
Bodyrequired
applyLaterboolean

Flag indicating whether to apply the CLI template later rather than immediately (default: false).

clistring

The CLI command template content with variable placeholders (e.g., {{variable_name}}).

idstring

Unique identifier for the CLI template.

namestring^.{1,64}$

Name of the CLI template (1-64 characters).

reloadboolean

Flag indicating whether to reload the switch after applying the CLI commands (default: false).

variablesArray of objects(AcxCliTemplateVariableBo)unique

Set of template variables that can be customized for each switch when applying the CLI template.

venueSwitchesArray of objects(VenueSwitchBo)

List of venue switches to which this CLI template will be applied.

{ "applyLater": true, "cli": "string", "id": "string", "name": "string", "reload": true, "variables": [ { … } ], "venueSwitches": [ { … } ] }

Responses

OK

Body
idstring

The identifier

namestring^.{1,64}$

The unique name identifier for this CLI template, limited to 64 characters.

clistring

The CLI command template content containing switch configuration commands and variable placeholders.

variablesArray of objects(CliTemplateVariableBo)unique

The set of variables defined in this CLI template for dynamic configuration value substitution.

reloadboolean

The flag indicating whether the switch should be reloaded after applying this CLI template.

applyLaterboolean

The flag indicating whether to apply this CLI template later rather than immediately.

venueSwitchesArray of objects(AcxCliTemplateSwitches_V1)

The list of venue switch associations indicating which switches in each venue should receive this CLI template.

Response
{ "id": "string", "name": "string", "cli": "string", "variables": [ { … } ], "reload": true, "applyLater": true, "venueSwitches": [ { … } ] }

Delete Command Line Interface Templates

Request

Delete command line interface templates.

Security
jwtAuth
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" } }

Query Command Line Interface Templates

Request

Get a list of command line interface templates by query.

Security
jwtAuth
Bodyrequired
fieldsArray of strings

The list of field names to include in the query response, allowing clients to request only specific fields.

pageinteger(int32)

The page number for pagination, starting from 1, defaulting to 1.

pageSizeinteger(int32)

The number of records to return per page, defaulting to 25.

sortFieldstring

The field name to use for sorting the query results.

sortOrderstring

The sort order direction for the query results, either ascending or descending, defaulting to ascending.

Enum"ASC""DESC"
filtersobject

The dynamic filter map where keys are field names and values are lists of filter criteria to apply for each field.

searchStringstring

The search string for full text search across the specified target fields.

searchTargetFieldsArray of strings

The list of field names to search within when applying the search string.

filterTypestringDeprecated

The dynamic filter type (deprecated, use filters instead).

{ "fields": [ "string" ], "page": 0, "pageSize": 0, "sortField": "string", "sortOrder": "ASC", "filterType": "string", "filters": { "property1": [ … ], "property2": [ … ] }, "searchString": "string", "searchTargetFields": [ "string" ] }

Responses

OK

Body
idstring
dataArray of any

The list of data records returned by the query, with each item representing a result object.

fieldsArray of strings

The list of field names included in the query response data.

pageinteger(int32)

The current page number of the paginated results.

totalCountinteger(int64)

The total number of records matching the query criteria across all pages.

totalPagesinteger(int32)

The total number of pages available based on the page size and total record count.

Response
{ "id": "string", "data": [ null ], "fields": [ "string" ], "page": 0, "totalCount": 0, "totalPages": 0 }

Get Examples

Request

Get a list of command line interface template examples.

Security
jwtAuth
Query
categorystring
No request payload

Responses

OK

Body
idstring

The identifier

clistring

The CLI command template text containing configuration commands for switch management.

namestring

The name of the CLI template sample for identification and reference.

versionstring

The firmware version or compatibility version for which this CLI template is designed.

Response
{ "id": "string", "cli": "string", "name": "string", "version": "string" }

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

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