Policy > Networking > Connectivity > Tier-0 Gateways > Tunnels

Patch Tunnel

Patch Tunnel This API is only available when using VMware NSX.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-svc-id}/tunnels/{tunnel-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
GreTunnel+
Tunnel+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s//locale-services//tunnels/ { "destination_address": "44.44.44.12", "tunnel_keepalive": { "enabled": false, "enable_keepalive_ack": true, "keepalive_interval": 10, "dead_time_multiplier": 3 }, "resource_type": "GreTunnel", "id": "aa-gre-10-new-1", "display_name": "aa-gre-10-new-1-display-name", "enabled": true, "tunnel_address": [ { "edge_path": "/infra/sites/default/enforcement-points/default/edge-clusters/172c9d22-5257-4e9c-af85-4a652d8f2b05/edge-nodes/0", "tunnel_interface_subnet": [ { "ip_addresses": [ "192.168.50.2" ], "prefix_len": 24 } ], "source_address": "40.40.40.1" }, { "edge_path": "/infra/sites/default/enforcement-points/default/edge-clusters/172c9d22-5257-4e9c-af85-4a652d8f2b05/edge-nodes/1", "tunnel_interface_subnet": [ { "ip_addresses": [ "192.168.60.2" ], "prefix_len": 24 } ], "source_address": "40.40.40.2" } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: