Configure the REST API

How to enable or disable RAS data streaming via the REST API, with the option to show current status

RAS is installed in the system.

This section describes how to enable or disable RAS data streaming via the REST API, with the option to show current status.

  1. Enable REST API access:
    [MGMT]$ cscli service_console configure rest_api enable
  2. Disable REST API access:
    [MGMT]$ cscli service_console configure rest_api disable
  3. Show the status of data streaming via the REST API (enabled or disabled):
    [MGMT]$ cscli service_console configure rest_api show