Delete Project
Projects
Delete Project
Soft-delete a project (sets is_active = False).
Sessions previously assigned to the project keep their project_id
so that re-creating a project with the same id (manual or future
feature) would re-link them; the chat UI ignores stale assignments
by hiding inactive projects from the selector.
Returns 404 when the project is not owned by the authenticated user so cross-tenant existence is not leaked.
IDOR AUDIT PASS — Project.user_id == authenticated user_id is enforced
in the WHERE clause.
DELETE
Delete Project
