Environments

UpdateEnvironmentDraft

Updates the YAML definition of an existing draft change request for a Pulumi ESC environment. The draft is identified by the changeRequestID path parameter. The request body contains the updated YAML definition. Returns a ChangeRequestRef on success. Requires the Approvals feature to be enabled for the organization.

patch/api/esc/environments/{orgName}/{projectName}/{envName}/drafts/{changeRequestID}

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

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

envNamestring required

The environment name

changeRequestIDstring required

The change request ID

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.