Management Plane API > Security > Identity Firewall > Configuration

Update IDFW master switch setting enabled/disabled

Update Identity Firewall master switch setting (true=enabled / false=disabled).
Identity Firewall master switch setting enables or disables Identity Firewall
feature across the system. It affects compute collections, hypervisor and
virtual machines. This operation is expensive and also has big impact and
implication on system perforamce.

Request:

Method:
PUT
URI Path(s):
/api/v1/idfw/master-switch-setting
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IdfwMasterSwitchSetting+

Example Request:

PUT https://<nsx-mgr>/api/v1/idfw/master-switch-setting { "idfw_master_switch_enabled" : false }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IdfwMasterSwitchSetting+

Example Response:

{ "idfw_master_switch_enabled" : false }

Required Permissions:

crud

Feature:

identity_firewall

Additional Errors: