Environments

CreateEnvironment

Creates a new Pulumi ESC (Environments, Secrets, and Configuration) environment within the specified organization. The request body must include the project name and the environment name. Environment names must be unique within a project and may only contain alphanumeric characters, hyphens, underscores, and periods. The newly created environment starts with an empty YAML definition that can be updated via the UpdateEnvironment endpoint.

post/api/preview/environments/{orgName}/{envName}

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/preview/environments/{orgName}/{envName}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

envNamestring required

The environment name

Request body

namestring required

The name of the environment.

projectstring required

The project name for the environment.

Response

OK

Changes

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