NSX-T Data Center REST API
List all segments under infra
Paginated list of all segments under infra.This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/segments
                  
/policy/api/v1/global-infra/segments
              
            /policy/api/v1/global-infra/segments
Request Headers:
                n/a
            Query Parameters:
    SegmentListRequestParameters+
  Request Body:
    n/a
  Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/segmentsSuccessful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    SegmentListResult+
  