Stacks

TransferStack

Transfers a stack from one organization to another. The request body must specify the destination organization name via the 'toOrg' field. The requesting user must be a member of both the source and destination organizations to prevent accidental disclosure of organization existence. The stack must not have any active updates in progress (returns 409 if an update is running). Returns 204 with no content on success.

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

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

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Request body

fromOrgstring

The source organization to transfer the stack from. If unset, the organization from the URL route parameters is used.

projectNamestring

The project name of the stack to transfer. If unset, the project from the URL route parameters is used.

stackNamestring

The name of the stack to transfer. If unset, the stack from the URL route parameters is used.

toOrgstring required

The organization to transfer the stack to.

Response

No Content

Changes

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