Delete Workspace
delete_workspacePermanently delete a Plori Workspace and its files, revisions, copies, and conversations. Deletion runs in the background and cannot be undone.
Instructions
Permanently delete a Workspace: its files, revisions, copies and conversations. This cannot be undone. Returns the Workspace with state deleting; the deletion completes in the background, and a Workspace that is already deleted returns status 204.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | The Workspace UUID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The Workspace UUID. | |
| name | No | The display name; not unique. | |
| role | No | The caller's role: owner, member or viewer. | |
| state | No | active, adopting (its files are moving to new storage; runs are refused until it is active again), deleting or deleted. | |
| status | No | 204 means the Workspace was already deleted. | |
| account | No | The account that owns the Workspace, with its user_id and email. | |
| created_at | No | When the Workspace was created. | |
| updated_at | No | When it last changed. | |
| main_session_id | No | The main conversation id. | |
| current_revision | No | The saved revision of the Workspace's current files; read_workspace_file reads it by default. | |
| default_agent_id | No | The Workspace's agent: it runs the messages sent to this Workspace. Every Workspace has one; it is null only once the Workspace is deleting or deleted. | |
| storage_readiness | No | Present while the Workspace's storage is still starting: state, since, pending_reason, retryable. | |
| root_working_copy_id | No | ||
| default_manager_agent_id | No | The same value as default_agent_id. |