capabilities.work

Delete stale resources outside the current session

One step with Harness. We can help you get access.

Get something done

Delete stale resources outside the current session

with Harness
Works with AI assistants

Use Harness: its Harness Workspaces API lets you delete stale resources outside the current session in a single step (DELETE /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/resources/stale). 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.

  • How do I purge workspace resources left over from earlier sessions?
  • Can I delete every resource that doesn't belong to my current session?
Say it to your AI assistant
  • Delete stale resources from workspace {workspace} in project {project} of org {org} not in session {session_id}.
  • Purge resources on workspace {workspace} that aren't from session {session_id}.
For your developer

DELETE /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/resources/stale in Harness Workspaces API. Full spec on APIs.io.