I am trying to validate the PAT token thru REST api, just wanted to make sure the PAT token has board access
I tried this API
POST https://dev.azure.com/1000057326/_apis/security/permissionevaluationbatch?api-version=7.1-preview.1
request body:
{
"evalBatch": [
{
"securityNamespaceId": "{id}",
"token": "{PAT}",
"permissions": "2,4,8,16"
}
]
}
But nothing giving any result. Is there a azure devops REST API to check if my PAT token has necessary permissions