I need to find a list of all groups that a given user is a part of. Best option I've found is POSTing to /api/v2/groups/search with a body like this -
{
"query": [
{
"fields": ["owners.id","id"],
"value": "<a user guid>",
"type": "EXACT"
}
]
}
I've tried using a variety of field names, but can't get any results. Is there a way to do this other than pulling a list of all groups, and then checking if the user id is part of each group? Thanks