Get information about all environments in an application

Request

GET https://{hostname}:{port}
  /cli/application/environmentsInApplication?{parameters}
Table 1. Request parameters
Parameter Type Required Description
application string true Name of the application

Example response

[
  {
    "id": "1f97af86-cde3-4ba2-803b-0e4580dcc05b",
    "name": "Tutorial environment 1",
    "description": "",
    "color": "#ffffff",
    "requireApprovals": false,
    "lockSnapshots": false,
    "calendarId": "e237199e-8bbc-497e-97eb-ca2568dff91c",
    "active": true,
    "cleanupDaysToKeep": 0,
    "cleanupCountToKeep": 0,
    "conditions": [
    ]
  }
]

Related CLI command: getEnvironmentsInApplication.


Feedback