As explained in the community app topic of Adrian’s SmartThings app, it’s dictated by Samsung
.
I did a reboot of my Homey, meaning I lost my old Token.
I don’t quite understand how a Homey reboot can cause the loss of your token. It’s stored on “disk”, not in RAM.
Most probably you can restore a backup to revert it?