Amendment X.
The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.
I agree that the states had a 10th amendment right to secede. And that’s how the US Supreme Court would have ruled in 1861. But a hotheaded leader named Jefferson Davis turned a winning legal case into a losing war.