paperclip_delete_workspace
Permanently delete a workspace from a project. Requires board-level authentication and valid project/workspace UUIDs.
Instructions
⚠ Board-only: Permanently delete a workspace from a project. Returns the deleted workspace object.
Args:
projectId: string — Project UUID (example: "prj_abc123")
workspaceId: string — Workspace UUID to delete (example: "wsp_abc123")
Returns: The deleted workspace object: id, companyId, projectId, name, sourceType, cwd, repoUrl, isPrimary, createdAt, updatedAt.
Examples:
Use when: removing a workspace that is no longer needed (e.g. a closed branch or decommissioned path)
Don't use when: you want to update workspace settings — use paperclip_update_workspace instead
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
403: board key required → this endpoint requires board-level authentication
404: project or workspace not found → verify IDs with paperclip_list_workspaces
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project UUID | |
| workspaceId | Yes | Workspace UUID to permanently delete |