NSX-T Data Center Global Manager REST API

Associated URIs:

API Description API Path

List labels for infra


Paginated list of all labels for infra.
GET /global-manager/api/v1/orgs/<org-id>/projects/<project-id>/global-infra/labels (Experimental)
GET /global-manager/api/v1/global-infra/labels

Delete PolicyLabel object


Delete PolicyLabel object
DELETE /global-manager/api/v1/global-infra/labels/<label-id>
DELETE /global-manager/api/v1/orgs/<org-id>/projects/<project-id>/global-infra/labels/<label-id> (Experimental)

Read lable


Read a label.
GET /global-manager/api/v1/global-infra/labels/<label-id>
GET /global-manager/api/v1/orgs/<org-id>/projects/<project-id>/global-infra/labels/<label-id> (Experimental)

Patch an existing label object


Create label if not exists, otherwise take the partial updates.
Note, once the label is created type attribute can not be changed.
PATCH /global-manager/api/v1/global-infra/labels/<label-id>
PATCH /global-manager/api/v1/orgs/<org-id>/projects/<project-id>/global-infra/labels/<label-id> (Experimental)

Create or replace label


Create label if not exists, otherwise replaces the existing label.
If label already exists then type attribute cannot be changed.
PUT /global-manager/api/v1/global-infra/labels/<label-id>
PUT /global-manager/api/v1/orgs/<org-id>/projects/<project-id>/global-infra/labels/<label-id> (Experimental)