Delete Workspace
delete_workspacePermanently delete a workspace by providing its ID and confirming the exact workspace ID to prevent accidental removal. Returns success only after AFFiNE confirms the deletion.
Instructions
Delete a workspace permanently and report success only when AFFiNE confirms the mutation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workspace ID | |
| confirmWorkspaceId | Yes | Must exactly match id to confirm permanent workspace deletion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| kind | No | ||
| error | No | ||
| deleted | No | ||
| details | No | ||
| message | No | ||
| success | No | ||
| retryable | No | ||
| workspaceId | No |