Stacks
ImportStack
Imports a deployment state snapshot into the specified stack, replacing the current state. The request body must contain a complete untyped deployment object with the same format returned by the ExportStack endpoint. This is commonly used for state migration between backends, state repair, or restoring from backup. Returns 400 if the deployment contains encrypted secrets from a different stack. Returns 409 if another update is currently in progress on the stack.
post/api/stacks/{orgName}/{projectName}/{stackName}/import
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/stacks/{orgName}/{projectName}/{stackName}/import
- Auth: none declared
Path parameters
orgNamestring required
The organization name
projectNamestring required
The project name
stackNamestring required
The stack name
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.