Hi,
I want to change the project description and the process template using the the Rest API :
PATCH https://dev.azure.com/{organization}/_apis/projects/{projectId}?api-version=5.1
My Rest Body is as below :
{
"name": "FifthProject",
"description": "Changes",
"capabilities": {
"versioncontrol": {
"sourceControlType": "Git"
},
"processTemplate": {
"templateTypeId": "6b724908-ef14-45cf-84f8-768b5384da45"
}
}
}
I am getting the error response as :
{
"$id": "1",
"innerException": null,
"message": "The project update is invalid.\r\nParameter name: projectUpdate",
"typeName": "System.ArgumentException, mscorlib",
"typeKey": "ArgumentException",
"errorCode": 0,
"eventId": 0
}
Can you please let me know,what I am missing and what is the parameter projectUpdate. Its not mentioned in the documentation.
https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/update?view=azure-devops-rest-5.1
And i couldn't find any examples for the same. Please guide me with a proper example