get https://{hostname}/papi/v1/groups
You need information about the prevailing group to access most PAPI interfaces. This operation provides a read-only list of groups, which may contain properties. This operation provides a flat list of groups, along with parentGroupId
information to structure them as a hierarchy. Each group also lists any available contracts that enable property features, but not which group contains a given property. The Identity and Access Management API allows you to associate properties with groups, and to modify the group hierarchy.