GET /api/v3/projects/ID/policies

Retrieves all environment policies available in a specified project. Environment policies define how long an environment will run, when it will be deleted, and what happens to it when it has been idle for a certain length of time.

Request Path

GET /api/v3/projects/{projectId}/policies

Request Payload



{projectId} The ID of the project. To retrieve project IDs, use GET /api/v3/projects.

Response example

        "id": "POI2oTMRlfDqhXYfThag3XXg2",
        "name": "On Demand 12h/24h",
        "projectId": "PR23D2YqX0AvUrSp3TgDKwtg2",
        "allowEnvironmentCreation": true