Skip to main content

List effective deployment environments for application

GET 

/applications/:applicationId/related-environments

Returns the effective set of deployment environments for the application — environments matched by the direct environment policy and, when expand=labelEnvironments, additionally those resolved from the application's label policy. Each item carries a source marker (DIRECT or LABEL); direct entries shadow label-resolved entries with the same id.
Supported expand values:
status — resolve each environment's status against its cluster (extra read);
labelEnvironments — also resolve and merge environments from the application's label policy.
To update the underlying access policies, use PUT /applications/{applicationId}.

Request

Responses

application-related-environments-list 200 response