What is the user access right required to get PAT from Azure DevOps through API?
Punith V C (MS/EMT2-ETAS-VOS)
0
Reputation points
I tried to get PAT from Azure DevOps using the API https://dev.azure.com/{organization}/_apis/tokenadministration/accesstokens , but getting 401 unauthorized error.
I am passing username and password as HttpBasicAuth in header.
Do we need any special user access rights to hit this API?
How to fix this? Please help!!!
Sign in to answer