What’s the purpose of that? If you just want the data to be in sync, you are fine if the folders on both sides state themselves as up-to-date. If you want to clean up the global/local state, you can start syncthing with the env var STRECHECKDBEVERY=0s
set to prompt an immediate recalculation of those values. If you really want to resync, as in transfer all the data you need to remove the folder in the UI, then delete the directory on disk and then readd the folder - I don’t see the point of this though.