System Administration > Configuration > Fabric > Transport Zones

Update a Transport Zone (Deprecated)

Updates an existing transport zone. Modifiable parameters are
is_default, description, and display_name.
Deprecated: This api is now deprecated. Use new api - PATCH /infra/sites/<site-id>/enforcement-points/<enforcementpoint- id>/transport-zones/<zone-id>

Request:

Method:
PUT
URI Path(s):
/api/v1/transport-zones/{zone-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TransportZone+

Example Request:

PUT https://<nsx-mgr>/api/v1/transport-zones/795097bb-fb32-44f1-a074-73445ada5451 { "resource_type": "TransportZone", "description": "comp1 overlay transport zone", "id": "30c42eea-a083-4976-8b32-9281b6ca1887", "display_name": "tz-overlay", "transport_type": "OVERLAY", "transport_zone_profile_ids": [ { "profile_id": "52035bb3-ab02-4a08-9884-18631312e50a", "resource_type": "BfdHealthMonitoringProfile" } ], "is_default": true, "_revision": 0 }

Successful Response:

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

Example Response:

{ "id": "7bd56bce-2736-4e5b-bed2-db38fc2b00e9", "display_name": "host-switch-2-vlan-350", "description": "Used for VLAN 350", "resource_type": "TransportZone", "description": "comp1 overlay transport zone", "id": "30c42eea-a083-4976-8b32-9281b6ca1887", "display_name": "tz-overlay", "transport_type": "OVERLAY", "transport_zone_profile_ids": [ { "profile_id": "52035bb3-ab02-4a08-9884-18631312e50a", "resource_type": "BfdHealthMonitoringProfile" } ], "is_default": true, "_last_modified_time": 1458859590908, "_create_time": 1457984400279, "_last_modified_user": "admin", "_create_user": "admin", "_revision": 1, "_schema": "/v1/schema/TransportZone" }

Required Permissions:

crud

Feature:

transport_zones_transport_zones

Additional Errors: