Stages
Delete a stage
Destructive. Permanently removes the station. This is not the archive operation and it cannot be undone.
In practice this fails with 409 whenever a team or a route step is still assigned to the station, because those links are ON DELETE NO ACTION. Reassign them first, or archive the station instead.
When the delete does go through, deliverable stage nodes are not protected: they point at a station through data.stageId, which is a JSON value rather than a foreign key, so those nodes keep an id that no longer resolves. Any QC entry referencing the station has its stageId set to null.