Read operational modes for all interfaces

Prev Next

Returns the operational mode configurations for all available interfaces.

API URL

GET https://<host>/wsapis/v2.0.0/config/network/opmodeconf/opmode

Sample curl requests

curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/opmodeconf/opmode | python -m json.tool

Sample curl response

[
    {
	"fail_safe": "open",
	"ha_enabled": false,
	"name": "A",
	"opmode": "bypass",
	"supports_bypass": true,
	"supports_fail_open": true
    },
    {
	"fail_safe": "open",
	"ha_enabled": false,
	"name": "B",
	"opmode": "block",
	"supports_bypass": true,
	"supports_fail_open": true
    }
]

Availability

This command is available on the following platforms:

  • Network Security

  • Helix Enterprise

Authentication

Standard WSAPI authentication

Response mime type

application/json