NSX-T Data Center REST API
Create or update idfw configuration for standalone host
Update the idfw configuration for standalone host This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/settings/firewall/idfw/standalone-host-switch-setting
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
StandaloneHostIdfwConfiguration+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/settings/firewall/idfw/standalone-host-switch-setting { "idfw_enabled": false, "resource_type": "StandaloneHostIdfwConfiguration", "id": "standalone-host-switch-setting", "display_name": "/infra/settings/firewall/idfw/standalone-host-switch-setting", "_revision": 1 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
StandaloneHostIdfwConfiguration+