title: Devops server 2019 - Is there an REST api to add members to project and team
body: <p>I was looking to add members to Project using REST API.</p>
  
  <p>I was able to create project using API:</p>
  
  <pre><code>POST https://{instance}/{collection}/_apis/projects?api-version=5.0
  </code></pre>
  
  <p>Also, I was able to create a team in a project using REST API:</p>
  
  <pre><code>POST https://{instance}/{collection}/_apis/projects/{projectId}/teams?api-version=5.0
  </code></pre>
  
  <p>However, I was not able to get a REST API to add members to team and project.</p>
  
  <p>Can you please help?</p>