NSX-T Data Center REST API
Update transit gateway security features configuration.
Security config is automatically created for each transit gateway. Security features can be enabled/disabled per TGW.Request:
Method:
PUT
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/security-config
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TransitGatewaySecurityFeatures+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/orgs/default/projects/project-1/transit-gateways/tgw-1/security-config { "features": [ { "feature": "GFW", "enable": true }, { "feature": "GEOIP_MONITORING", "enable": true } ], "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TransitGatewaySecurityFeatures+