Creating a Branch Using Azure Service API 7.0 Returns 203
Luka Tsetskhladze
0
Reputation points
I am using Acess token which i get from Azure AD
my scope looks something like this. I am able to get files and stuff like that but i am not able to create branch. Could u help me understand what additional scope i require or what else i need to be able to create branch ?
I Tried a lot of things but i am unable to achieve. I am getting 203
https://dev.azure.com/[Organization]/[Project]/_apis/git/repositories/[Repo]/refs?api-version=5.0
This is my request body
[{"name":"refs/heads/test222","newObjectId":"cefaca8f754194d28a254d873780b13804c0b1ea","oldObjectId":"0000000000000000000000000000000000000000"}]
Sign in to answer