manb-msft/Azure DevOps REST Security APIs with Examples
Examples to use Azure DevOps REST API for various security operations.
Azure DevOps
Expand the list on the left to directly get to the operations.
Index
Common Calls
Commonly used calls, to list users/groups etc
AUTHORIZATIONBasic Auth
Username
Password
GETList all projects
https://dev.azure.com/{{organization}}/_apis/projects?api-version=5.1
API to list all projects.
AUTHORIZATIONBasic Auth
Username
Password
PARAMS
api-version
GETGet Descriptors
https://vssps.dev.azure.com/{{organization}}/_apis/graph/descriptors/{{storageKey}}?api-version=5.1-preview.1
{{storagekey}} is the ADO project ID
AUTHORIZATIONBasic Auth
Username
Password
PARAMS
api-version
GETGet all teams under a Project (optional)
https://dev.azure.com/{{organization}}/_apis/projects/{{projectID}}/teams?api-version=5.1
AUTHORIZATIONBasic Auth
Username
Password
PARAMS
api-version
Loading