Stacks

RenameStack

Changes an existing stack's name to a new value. The request body must include the desired new name. The rename may also change the project name. Returns 400 if the request body does not specify a rename. Returns 409 if another update is currently in progress on the stack, since renaming requires exclusive access.

post/api/stacks/{orgName}/{projectName}/{stackName}/rename

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

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Request body

newNamestring required

The new name

newProjectstring required

The new project

Response

OK

updateIdstring required

The update identifier

Changes

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