Where can I find the applicable scopeIds for List RoleDefinitions in the Azure DevOps REST API?
The API documentation for List RoleDefinitions states that the URI for the call is as follows:
https://dev.azure.com/{organization}/_apis/securityroles/scopes/{scopeId}/roledefinitions?api-version={version}
The documentation states that scopeId is required but gives no other information about it. Literally: the description is blank. Is there some other API call or resource for getting the list of scopes that can be used with this?
I've tried using project UUIDs, namespace Ids, Ids for built-in roles. All respond with an error: "SecurityRoleScope {scope-id-I-used} does not exist"
This API appears to be useless without know what kind of scopeId is relevant and what those Ids are. Where can I find this?