Creating a Branch Using Azure Service API 7.0 Returns 203

Luka Tsetskhladze 0 Reputation points
2023-02-16T13:46:30.0366667+00:00

I am using Acess token which i get from Azure AD
image.png

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"}]
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,912 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.