Environments

CreateOpenEnvironmentRequest

Creates an open request for a Pulumi ESC environment that has gated opens enabled. When an environment has open gates configured, opening the environment requires an approval workflow. This endpoint initiates that process by creating an open request, and also creates corresponding open requests for each imported environment that has open gates. Requires the Approvals feature to be enabled for the organization. Returns 400 if the environment does not have gated opens.

post/api/esc/environments/{orgName}/{projectName}/{envName}/open/request

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/esc/environments/{orgName}/{projectName}/{envName}/open/request
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

envNamestring required

The environment name

Request body

accessDurationSecondsinteger required

Total duration that the resulting grant can be used to access the environment open endpoint (after first open)

grantExpirationSecondsinteger required

Time from application of the request until the resulting grant expires

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.