Stacks
DeleteStack
Removes a stack from Pulumi Cloud. By default, the stack must have no resources remaining; attempting to delete a stack that still manages resources will fail. Use the 'force' query parameter set to true to override this check and force deletion even when resources remain. The deletion is a soft-delete that hides the stack from normal queries. Returns 204 with no content on success.
delete/api/stacks/{orgName}/{projectName}/{stackName}
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}
- Auth: none declared
Path parameters
orgNamestring required
The organization name
projectNamestring required
The project name
stackNamestring required
The stack name
Query parameters
forceboolean
When true, forces deletion even if the stack still has resources
Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.