Delete Team Entry
team_delete_entrySoft-delete a team entry to preserve it for recovery; use permanent deletion on an already soft-deleted entry when cleanup is required.
Instructions
Soft-delete a team entry (marks as deleted, preservable). Calling with permanent: true on a previously soft-deleted entry works. Returns success: false for nonexistent entries. Requires TEAM_DB_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | No | ||
| workspace_id | No | Optional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key. | |
| project_number | No | ||
| expected_version | No | REQUIRED for safe deletion to prevent optimistic concurrency gaps. Get this from get_entry_by_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| error | No | Human-readable error message | |
| details | No | Additional error context | |
| message | No | ||
| success | No | ||
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| aggregated_errors | No | Details of individual errors in a multi-step operation |