Bulk move repositories into repo group

Dear Support,

What is the best way to move 300-400 repositories into 5-10 repository group?
I quickly searched the API reference, but haven’t found anything that can be used.

Is there a bulk operation with/without using API in the Community Edition?

Thanks,
Tamas

You could simply write a script that would iterate over your repos that you would like to move and use API to update repositories groups.

e.g if you have a repo called example1 update_repo API call would be called with a new name new_repo_group/example1