HP 3PAR OS 3.1.3 Command Line Interface Reference

setwsapi
DESCRIPTION
The setwsapi command sets properties of the Web Services API server, including options to
enable or disable the HTTP and HTTPS ports.
SYNTAX
setwsapi [options]
AUTHORITY
Super, Service
Any role granted the wsapi_set right
OPTIONS
-f
Forces the operation of the setwsapi command, bypassing the typical confirmation message.
At least one of the following options are required:
-http enable|disable
Enables or disables the HTTP port.
-https enable|disable
Enables or disables the HTTPS port.
SPECIFIERS
None
EXAMPLES
To disable the HTTPS port:
cli% setwsapi -https disable
WARNING: The Web Services API server is active and will restart.
Are you sure you want to continue (y/n)? y
NOTES
Access to all domains is required to run this command.
You cannot disable both of the HTTP and HTTPS ports.
When the Web Services API server is active, a warning message showing the current status of the
Web Services API server is displayed and you will be prompted for confirmation before continuing.
The -f option forces the action without a warning message and prompt.
338 Set Commands