Stacks

CreateUpdateForDestroy

Creates a new destroy update for the given stack. A destroy update tears down all resources managed by the stack. This only creates the update record; the update must subsequently be started via the StartUpdateForDestroy endpoint. Enforces stack update concurrency checks to prevent conflicting simultaneous operations.

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

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

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Request body

configobject required

Configuration values.

descriptionstring required

The description

mainstring required

The main entry point

namestring required

Properties from the Project file. Subset of pack.Package.

runtimestring required

The runtime

Response

OK

updateIDstring required

UpdateID is the opaque identifier of the requested update. This value is needed to begin an update, as well as poll for its progress.

Changes

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