Environments

CreateEnvironmentDraft

Creates a new draft change request for a Pulumi ESC environment. Drafts allow proposing changes to an environment definition that can be reviewed and approved before being applied. This is part of the approvals workflow for environments. Returns a ChangeRequestRef containing the draft identifier. Requires the Approvals feature to be enabled for the organization.

post/api/esc/environments/{orgName}/{projectName}/{envName}/drafts

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}/drafts
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

envNamestring required

The environment name

Response

OK

changeRequestIdstring

The change request identifier

latestRevisionNumberinteger

The latest revision number

Changes

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