pydo.harness.delete_workspace()
Generated on 6 Nov 2026
from pydo version
v0.45.0
Usage
client.harness.delete_workspace(
workspace_id="019a2f4e-8c1d-7b3a-9e5f-2d6c8a1b4e70",
)Description
Permanently deletes a persistent workspace and its files. Only a workspace that is AVAILABLE or FAILED can be deleted; remove the session that holds it first. Workspaces are never deleted automatically.
Parameters
workspace_idstring requiredExample:
019a2f4e-8c1d-7b3a-9e5f-2d6c8a1b4e70The workspace ID. Workspace names are not accepted.
More Information
See /v2/agents/workspaces/{workspace_id} in the API reference for additional detail on responses, headers, parameters, and more.