Administrator Guide
REST API CLI | 175
10
REST API CLI
Overview
The REST API CLI command is supported on the S4810, S4820T, S5000, S6000,
Z9000 and Z9500 platforms.
rest-server
Z
S5000 Enable the REST API service over a non-secure or secure HTTP.
To disable the REST API over a non-secure or secure HTTP request, use the
no
rest-server {http | secure-http} command.
Syntax
rest-server {http | secure-http}
Defaults
REST API is disabled by default.
Command Modes
CONFIGURATION
Parameters
Command
History
http Enable the REST API on HTTP (Port: 8008).
secure-http Enable the REST API on HTTPS (Port: 8888).
Version 9.6(0.0) Introduced on the S5000.
Version 9.5(0.1) Introduced on the Z9500.
Version
9.4(0.0P1)
Introduced on the S4810, S4820T, S6000, and Z9000.
Note: The rest enable command is deprecated, however the support is maintained
for backward compatibility in version 9.4(0.0P1) and will be removed in the future
release.