NSX-T Data Center REST API
Create or update a Tier-0 interface
If an interface with the interface-id is not already present, create a newinterface. If it already exists, update the interface for specified attributes.
Request:
Method:
              PATCH
            URI Path(s):
              
                /policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/interfaces/{interface-id}
                
/policy/api/v1/global-infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/interfaces/{interface-id}
              
            /policy/api/v1/global-infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/interfaces/{interface-id}
Request Headers:
                n/a
            Query Parameters:
    OverrideRequestParameters+
  Request Body:
    Tier0Interface+
  Example Request:
PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/locale-services/default/interfaces/to_internet { "segment_path": "/infra/segments/sg-uplink", "subnets": [ { "ip_addresses": [ "35.1.1.1" ], "prefix_len": 24 } ], "edge_path": "/infra/sites/default/enforcement-points/nsx/edge-clusters/05e58fcb-8575-4b20-9c49-3f09a0d70572/edge-nodes/0", "type": "EXTERNAL" }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  n/a
                Response Body:
    n/a