workspace

Erase the entire workspace (Task A4).

Irreversibly erases the whole workspace: every live person's email and password hash are wiped, every API key is revoked, and every document is soft-deleted alongside the tenant itself. Admin-only, JWT session only (API keys get 401 jwt_required — mirrors DELETE /v1/auth/profile, STRIDE A1). Requires two confirmations: the exact workspace name (confirm_name) AND the caller's own current password (current_password) — a step-up control the security review made a hard requirement (docs/security/stride-team-mode-a4-2026-09-01.md). Deletion is immediate and irreversible: there is no cooling-off period (CEO 2026-09-01). To leave the workspace WITHOUT erasing it for everyone else, use DELETE /v1/auth/profile instead.

delete/v1/workspace

Request

  • Base URL: https://api.andish.ru (the document declares no server; this is the origin it was published from)
  • URL: https://api.andish.ru/v1/workspace
  • Auth: none declared

Request body

confirm_namestring required

Must match the workspace's current name exactly.

current_passwordstring required

The caller's OWN current password — re-entered as a step-up confirmation for this irreversible action. Never anyone else's.

Response

Workspace erased — PII wiped for every live person.

deleted_atstring date-time required

UTC timestamp when the workspace was soft-deleted.

data_removal_etastring required

Human-readable note on data removal. Personal data for every affected person is wiped immediately and cannot be undone; this field describes only the (not yet scheduled) physical purge of the remaining soft-deleted rows.

users_affectedinteger required

Number of live people in the workspace whose PII was wiped.

Changes

No recorded changes to this operation across all 1 revision of this API.