get https://{hostname}/identity-management/v3/user-admin/groups
This operation lists all groups the administrator can manage for the current account and contract type or other managed accounts using the accountSwitchKey
parameter. The account and contract type are determined by the access tokens in your API client.