Error while calling API's through Postman
Hello,
The question regards Azure DevOps. We recently migrated to Azure DevOps from TFS.
Migration and parameters are succesfully setup. FYI - I have omitted the parameter 'organization'.
I am trying to make API calls via Postman to see which users have access to projects and which projects are accessible by whom. I found a documentation mentioning the below:
We can use the API with the variable scopeDescriptor
to get the list of user in one project.
Steps:
List all projects and get the "alpha" project ID.
GET https://dev.azure.com/{organization}/_apis/projects?api-version=6.0
Get the one project scopeDescriptor via Descriptors - Get
GET https://vssps.dev.azure.com/{organization}/_apis/graph/descriptors/{storageKey}?a
However, the parameter 'organization' seems to be a must as per the above. Every time I make the call without this parameter (since its omitted from setup) I get a 400 error (bad request & not found).
Can you advice a workaround regarding the above? Parameter 'organization' will be excluded. Can I still receive a response from APIs depicting what I am looking for?
Best regards,
N.