NSX-T Data Center REST API
List labels for infra
Paginated list of all labels for 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/labels
                  
/policy/api/v1/global-infra/labels
              
            /policy/api/v1/global-infra/labels
Request Headers:
                n/a
            Query Parameters:
    PolicyLabelListRequestParameters+
  Request Body:
    n/a
  Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/labelsSuccessful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    PolicyLabelListResult+
  