szymon_dybczak
Esteemed Contributor III

Hi @mthompson2025 ,

Basically, it what I described above. This API List group details | Account Groups API | REST API reference | Databricks on AWS will return all groups that belong to your account. Also, in the json payload you have members attribute that you can leverge to filter out payload by a member to whom you want to find group names he belongs to.
If you perform that filtration, you'll end up with all the groups this user belongs to.

Back then the payload received by using cli was different than the one from rest api. But maybe nowadays they aligned it. You can check it 🙂