Is there an API that list all project level Azure DevOps Groups?

Copper Contributor

I found the following API, that retrieves TFS Groups: https://tfs2018:8080/tfs/{collection}/{team-project}/_api/_identity/ReadScopedApplicationGroupsJson?.... I was wondering if there is also an API that retrieves the Azure DevOps Groups for a specific project, as I wasn't able to find it yet. I would also like to view the permissions and members of these groups. I'm also open to tfssecurity options, if those exist.
Thank you in advance!

1 Reply
You can get all Groups from this endpoint:{collection}/_apis/graph/groups?api-version=7.1-preview

Then check in the principal name of each group object for the project name like: [My Project]\\My_Project_Prod_Approvers