Retag multiple docker images withing a Nexus docker registry

My Docker registry is currently organized this way:

myrepository.mydomain.com
   product1
      module1
         tags
            1.0
            2.0
      module2
         tags
            1.0
            2.0
   product2
      module1
         tags
            1.0
            2.0
      module2
         tags
            1.0
            2.0

I’d like to reorganize my images, by retagging all images inside a product. For example:

myrepository.mydomain.com
   product1_new_name
      module1
         tags
            1.0
            2.0
      module2
         tags
            1.0
            2.0
   product2
      module1
         tags
            1.0
            2.0
      module2
         tags
            1.0
            2.0

Is there a way to do this without retagging each image individually?

Source: StackOverflow