Administrator Guide
11
REST API CLI
The REST API CLI commands are supported on the S4810, S4820T, S5000, S6000, Z9000, and Z9500
platforms.
rest-server
Enable the REST API service over a non-secure or secure HTTP.
S4810, S4820T, S5000, S6000, Z9000, and Z9500
Syntax
rest-server {http | secure-http}
To disable the REST API over a non-secure or secure HTTP request, use the no
rest-server {http | secure-http} command.
Parameters
http
Enable the REST API on HTTP (Port: 8008).
secure-http
Enable the REST API on HTTPS (Port: 8888).
Defaults REST API is disabled by default.
Command
Modes
CONFIGURATION
Command
History
This guide is platform-specific. For command information about other platforms,
refer to the relevant Dell Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
Version Description
9.6(0.0) Introduced on the S5000.
9.5(0.1) Introduced on the Z9500.
9.4(0.0P1) Introduced on the S4810, S4820T, S6000, and Z9000.
Usage
Information
NOTE: The rest enable command is deprecated; however, the support is
maintained for backward compatibility in version 9.4(0.0P1) and is removed in
the 9.5(0.1) release.
164
REST API CLI