Set a TTL to auto-destroy a workspace's infrastructure
One step with Harness. We can help you get access.
Get something done
Set a TTL to auto-destroy a workspace's infrastructure
with Harness
Works with AI assistants
Use Harness: its Harness Workspaces API lets you set a TTL to auto-destroy a workspace's infrastructure in a single step (PUT /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/ephemeral-config). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I make a workspace ephemeral so its infrastructure is destroyed automatically?
- Is it possible to also delete the workspace itself after the TTL expires?
Say it to your AI assistant
- Enable ephemeral TTL on workspace {workspace} in project {project} of org {org} using pipeline {pipeline_id}.
- Destroy the infrastructure in workspace {workspace} on {destroy_on_date}.
- Auto-destroy workspace {workspace} after {destroy_delay_value} {destroy_delay_unit}.
For your developer
PUT /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/ephemeral-config in Harness Workspaces API. Full spec on APIs.io.