Environments

RestoreEnvironment

Restores a previously deleted Pulumi ESC environment within an organization. The request body specifies the environment to restore by its project and name. The environment must have been deleted within the retention window and not yet permanently purged. Returns 204 on success with no response body. Returns 404 if the deleted environment cannot be found.

put/api/esc/environments/{orgName}/restore

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

Path parameters

orgNamestring required

The organization name

Request body

namestring required

The name of the environment.

projectstring required

The project name for the environment.

deletionTimestampstring required

The ISO 8601 timestamp of the environment's deletion, used to identify which deleted version to restore.

Response

No Content

Changes

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