Destroy a workspace and its contents
One step with Terraform. We can help you get access.
Get something done
Destroy a workspace and its contents
with Terraform · Environment Management
Use Terraform: its HCP Terraform Workspaces API lets you destroy a workspace and its contents in a single step (DELETE /workspaces/{workspace_id}). capabilities.work can help you get signed up and connected.
- How do I permanently delete a workspace?
- Does destroying a workspace also remove its runs and state?
Say it to your AI assistant
- Destroy workspace {workspace_id}.
- Permanently delete workspace {workspace_id} and everything in it.
For your developer
DELETE /workspaces/{workspace_id} in HCP Terraform Workspaces API. Full spec on APIs.io.