Management Plane API >
Security
>
Identity Firewall
>
Configuration
Update IDFW master switch setting enabled/disabled
Update Identity Firewall standalone hosts switch setting
(true=enabled / false=disabled).
Request:
Method:
PUT
URI Path(s):
/api/v1/idfw/standalone-host-switch-setting
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IdfwStandaloneHostsSwitchSetting
+
IdfwStandaloneHostsSwitchSetting
(
schema
)
Name
Description
Type
Notes
standalone_hosts_enabled
IDFW standalone hosts switch
IDFW standalone hosts switch (true=Enabled / false=Disabled).
boolean
Required
Example Request:
PUT https://<nsx-mgr>/api/v1/idfw/standalone-host-switch-setting { "_revision" : 0, "standalone_hosts_enabled" : false, "_create_time": 1537790838188, "_last_modified_user": "admin", "_system_owned": false, "_protection": "NOT_PROTECTED", "_last_modified_time": 1537790838188, "_create_user": "admin" }
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IdfwStandaloneHostsSwitchSetting
+
IdfwStandaloneHostsSwitchSetting
(
schema
)
Name
Description
Type
Notes
standalone_hosts_enabled
IDFW standalone hosts switch
IDFW standalone hosts switch (true=Enabled / false=Disabled).
boolean
Required
Example Response:
{ "_revision" : 0, "standalone_hosts_enabled" : false, "_create_time": 1537790838188, "_last_modified_user": "admin", "_system_owned": false, "_protection": "NOT_PROTECTED", "_last_modified_time": 1537790838188, "_create_user": "admin" }
Required Permissions:
crud
Feature:
identity_firewall
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable