Policy > Networking > Connectivity > Transport Zones

Patch a Transport Zone under an Enforcement Point

Patch a Transport Zone under an Enforcement Point

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/sites/<site-id>/enforcement-points/<enforcementpoint-id>/transport-zones/<transport-zone-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyTransportZone+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/nsxt-ep/transport-zones/tz { "tz_type": "OVERLAY_STANDARD", "is_default": true, "nested_nsx": false, "transport_zone_profile_paths": [ "/infra/transport-zone-profiles/tzp" ] }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyTransportZone+

Example Response:

{ "tz_type": "OVERLAY_STANDARD", "is_default": true, "transport_zone_profile_paths": [ "/infra/transport-zone-profiles/tzp" ], "nested_nsx": false, "resource_type": "PolicyTransportZone", "id": "tz2", "display_name": "tz2", "path": "/infra/sites/default/enforcement-points/default/transport-zones/tz2", "relative_path": "tz2", "parent_path": "/infra/sites/default/enforcement-points/default", "unique_id": "034adfef-2a9b-48b8-9a7e-05db94589aef", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1607541382550, "_last_modified_user": "admin", "_last_modified_time": 1607541382552, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_ep_transport_zone

Additional Errors: