“No state had the right to secede from the union.”
No colony had the right to secede from the British Empire.
“No colony had the right to secede from the British Empire.”
You are wrong.
The Treaty of Paris of 3 September 1783 recognized the United States to be free, sovereign and independent.
All British troops were removed from American soil.