NSX-T Data Center REST API
Disable firewall on target resource in dfw context (Deprecated)
Deprecated:Use the following Policy APIs -
PUT|PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>
PUT|PATCH /policy/api/v1/infra/tier-1s/<tier-1-id>
The disable_firewall property must be set to true.
Request:
Method:
POST
URI Path(s):
/api/v1/firewall/status/{context-type}/{id}?action=disable_firewall
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TargetResourceStatus+
Example Response:
{ "target_id": "1253495c-ffe8-4d44-8ea7-37fe9fe2d97f", "target_status": "DISABLED" }Required Permissions:
Feature:
firewall_general Description:
Disable firewall on a target resource in dfw context
e.g. 'A specific logical router'