Add new repo to an existing group via nexus api

I have a doker group configured in nexus, and its port is added in firewall. I wanted to add newly created docker repoes to be added to this group. I want an API solution, currently I can get all the repos belong that particular group and then remove and recreate. But I just want a solution that will update the group only, not remove and recreate.

I believe what you’re asking for is part of and will be available with 3.20.
If you upgrade to 3.20 (once released) and it’s not there, you can follow up here or file a new issue in JIRA relaying the use case you need.