Getting ScopeId from Azure DevOps RoleDefinitions API

New Contributor


I am looking at calling this Azure DevOps API:

Roledefinitions - List - REST API (Azure DevOps Security Roles) | Microsoft Learn 

to get a list of security roles definitions. 


From the Microsoft article, there is not much information on how to get the ScopeId when calling the RoleDefinition API.


Anyone can share some information on getting the ScopeId param? How do we determine the ScopeId to use?



0 Replies