NSX-T Data Center REST API

Patch a distributed vlan connection

If a distributed vlan connection is not already present, create a new distributed vlan connection .
If it already exists, update the distributed vlan connection.
This API is only available when using VMware NSX.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/distributed-vlan-connections/{distributed-vlan-connection-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DistributedVlanConnection+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/distributed-vlan-connections/gateway-101 { "resource_type": "DistributedVlanConnection", "id": "gateway-101", "display_name": "gateway-101", "description": "Distributed vlan connection", "gateway_addresses" : ["10.2.1.1/24"], "vlan_id": 101 }

Successful Response:

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

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_transit_gateway_connection

Additional Errors: