Problem with changeing Current License

Hello, I have a problem with my current license. I have a school floating license (Simens ultimate) but i
bought OPC ua license instead. How can i get rid of the old and put the new license in factory io

change

In order to deactivate a floating license (share code), you just need to open the console and type license.share_code = ‘’.