Group assignments to patch policy schedules

Hello team,

We have a lot of patch policy schedules in place that we need to assign computer groups into. The problem is it is taking a lot of time to go to go to the specific patch policy > go to the specific schedule > go to the Target > search for the group you need to assign.

Is there a better way of doing this via DB query or maybe API? we already have the patch policy, schedules and computer groups created.

Thanks in advance.

Please vote the following idea -