Change port list on mulitple targets

Good morning,

We are currently running Greenbone OS 20.08.7
We have created all of our tasks and targets, however we would like to change the port list on all of the targets as we accidentally selected the wrong one.
Is there a way to do this in bulk via CLI or anything, or must we delete/re-create each target manually?