How do I generate a link to the Manage Jira Groups page?

Currently trying to display a link in my Forge project’s static admin page which takes the user to the Atlassian Manage Groups page - The link is something like /admin.atlassian.com/o/Some-id-number/groups.

Are there any ways of generating this id number or directing the user?