title: Use VSTS Rest API to set git repo permissions
body: <p>Is there a way using the VSTS rest API to set permissions on a git repo?</p>
  
  <p>I've got a script that creates a repo, and I want to extend that to set some default permissions (give the project collection build service contribute permissions).</p>
  
  <p>I've read <a href="https://docs.microsoft.com/en-us/vsts/security/set-git-tfvc-repository-permissions" rel="nofollow noreferrer">the gui docs</a> and looked through the <a href="https://www.visualstudio.com/en-us/docs/integrate/api/overview" rel="nofollow noreferrer">Rest API docs</a> but can't see that I can set permissions on a repo through the API. Is it possible?</p>