fix(platform): a tenant erasure is confirmed only by the tenant's own id (#1083)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m5s
CI / Deploy Agent (push) Successful in 7m10s

This commit was merged in pull request #1083.
This commit is contained in:
sharang committed 2026-11-30 20:46:26 +00:00
1 parent ecfee6db6e
commit 50b1a8b44b
2 files changed
+30 -4

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ What Prüfwerk keeps about a target, where, and when it is removed.
Deleting a target (`DELETE /api/v1/targets/{id}`, or **Delete** on the
targets page) removes its records and its files. Erasing a tenant
(`DELETE /api/v1/platform/tenants/{id}/data`, confirmed) drops its database
(`DELETE /api/v1/platform/tenants/{id}/data` with `{"confirm": "<tenant id>"}`,
the same id as in the path) drops its database
and removes every file listed above; the response says how many paths were
removed and how many could not be. Only paths inside the two configured base
directories are ever removed.