Policy > Infra > Domains > Domain

Associated URIs:

API Description API Path

List domains for infra


Paginated list of all domains for infra.
GET /policy/api/v1/infra/domains
GET /policy/api/v1/global-infra/domains
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/domains

Delete Domain and all the entities contained by this domain


Delete the domain along with all the entities contained by this domain.
The groups that are a part of this domain are also deleted along with
the domain.
DELETE /policy/api/v1/infra/domains/{domain-id}

Read domain


Read a domain.
GET /policy/api/v1/infra/domains/{domain-id}
GET /policy/api/v1/global-infra/domains/{domain-id}
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/domains/{domain-id}

Patch a domain


If a domain with the domain-id is not already present, create a new
domain. If it already exists, patch the domain
PATCH /policy/api/v1/infra/domains/{domain-id}

Create or update a domain


If a domain with the domain-id is not already present, create a new
domain. If it already exists, update the domain including the nested
groups. This is a full replace
PUT /policy/api/v1/infra/domains/{domain-id}