I'm using collections (not organization) in azure devops and trying to add users in teams (under project settings) through Postman REST API.
I can retrieve teams details using PAT auth:
GET https://devops.company.com/tfs/COL/_apis/projects/My-WORK/teams?api-version=6.0
Success Response:
{
"value": [
{
"id": "01xxccrayr-a443-600d-db0d-12435",
"name": "MY-WORK Team",
"url": "",
"description": "team description",
"identityUrl": "xxxx",
"projectName": "MY-WORK",
"projectId": "8540tuyfred-qawsd-fre432-fre3-57wedsa1546thyf"
}
],
"count": 1
}
but unable to add users into specific teams through Postman:
Error Response:
<head>
<title>Page not found. - Azure DevOps Server</title>
<style type="text/css">
Also, I tried below urls but didn't work:
How to add team members in Azure Devops via API? Also Groups API does not work
Any input would be helpful, Thank you.