Policy > Inventory > Services

Associated URIs:

API Description API Path

List Services for infra


Paginated list of Services for infra.
GET /policy/api/v1/infra/services
GET /policy/api/v1/global-infra/services

Delete Service


Delete Service
DELETE /policy/api/v1/infra/services/<service-id>

Read a service


Read a service
GET /policy/api/v1/infra/services/<service-id>
GET /policy/api/v1/global-infra/services/<service-id>

Patch a Service


Create a new service if a service with the given ID does not already
exist. Creates new service entries if populated in the service.
If a service with the given ID already exists, patch the service
including the nested service entries.
PATCH /policy/api/v1/infra/services/<service-id>

Create or update a Service


Create a new service if a service with the given ID does not already
exist. Creates new service entries if populated in the service.
If a service with the given ID already exists, update the service
including the nested service entries. This is a full replace.
PUT /policy/api/v1/infra/services/<service-id>

List Service entries for the given service


Paginated list of Service entries for the given service
GET /policy/api/v1/infra/services/<service-id>/service-entries
GET /policy/api/v1/global-infra/services/<service-id>/service-entries

Delete Service entry


Delete Service entry
DELETE /policy/api/v1/infra/services/<service-id>/service-entries/<service-entry-id>

Service entry


Service entry
GET /policy/api/v1/infra/services/<service-id>/service-entries/<service-entry-id>
GET /policy/api/v1/global-infra/services/<service-id>/service-entries/<service-entry-id>

Patch a ServiceEntry


If a service entry with the service-entry-id is not already present,
create a new service entry. If it already exists, patch the service
entry.
PATCH /policy/api/v1/infra/services/<service-id>/service-entries/<service-entry-id>

Create or update a ServiceEntry


If a service entry with the service-entry-id is not already present,
create a new service entry. If it already exists, update the service
entry.
PUT /policy/api/v1/infra/services/<service-id>/service-entries/<service-entry-id>