API Description | API Path |
---|---|
List labels for infraPaginated list of all labels for infra. |
GET /policy/api/v1/infra/labels
GET /policy/api/v1/global-infra/labels |
Delete PolicyLabel objectDelete PolicyLabel object |
DELETE /policy/api/v1/infra/labels/<label-id>
|
Read lableRead a label. |
GET /policy/api/v1/infra/labels/<label-id>
GET /policy/api/v1/global-infra/labels/<label-id> |
Patch an existing label objectCreate label if not exists, otherwise take the partial updates. Note, once the label is created type attribute can not be changed. |
PATCH /policy/api/v1/infra/labels/<label-id>
|
Create or replace labelCreate label if not exists, otherwise replaces the existing label. If label already exists then type attribute cannot be changed. |
PUT /policy/api/v1/infra/labels/<label-id>
|