System Administration > Configuration > Fabric > Transport Zones

Create a Transport Zone (Deprecated)

Creates a new transport zone. The required parameters is transport_type
(OVERLAY or VLAN). The optional parameters are
description and display_name.
Deprecated: This api is now deprecated. Please use new api - PUT /policy/api/v1/infra/sites/<site-id>/enforcement-points/<enforcementpoint- id>/transport-zones/<zone-id>

Request:

Method:
POST
URI Path(s):
/api/v1/transport-zones
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TransportZone+

Example Request:

POST https://<nsx-mgr>/api/v1/transport-zones/ { "display_name":"tz1", "description":"Transport Zone 1", "transport_type":"OVERLAY" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
TransportZone+

Example Response:

{ "_revision": 0, "id": "c6626083-1a86-4370-85c0-791cf9f947e9", "display_name": "tz1", "description": "Transport Zone 1", "resource_type": "TransportZone", "transport_type": "OVERLAY", "_last_modified_user": "admin", "_last_modified_time": 1414179082458, "_create_time": 1414179082458, "_create_user": "admin", "_schema": "/v1/schema/TransportZone" }

Required Permissions:

crud

Feature:

transport_zones_transport_zones

Additional Errors: