Projects
Delete a project
Destructive. Permanently removes the project row. This is not the archive operation and it cannot be undone.
In practice this call fails with 409 for any project created through the API or the app. Every project owns at least one Jobsite location, and that link is ON DELETE RESTRICT, so the database refuses the delete while the Jobsite exists. Archive the project instead: PATCH /project/{id} with { "isArchived": true }.
If the delete does go through, qc_inspection_set.projectId on any related QC entry is set to null and the entry itself is kept.