Hello Freddy,
As you can see in the RM, the partitioning should be done only once throughout the lifetime of the MCU.

And in the description of the Program Partition command, you can read:

It would erase all of the flash content that is, program flash, data flash, data flash IFR (including EEPROM partition configuration), EEPROM backup memory...
Regards,
Daniel