Share via

Update a Single Variable in Azure DevOps Library Without Resending All Variable Details

Ahwan Mishra 140 Reputation points
2024-03-07T07:42:46.5833333+00:00

Hi All,

I am working on updating Azure DevOps library using the REST API.

The end point which I currently use -

PUT https://dev.azure.com/{organization}/_apis/distributedtask/variablegroups/{groupId}?api-version=7.1-preview.2

However, I have to get details from Azure Library and re-send all the variable details again and again, even though I need to update a single entry.

Need suggestion on how I can update a single variable in Azure DevOps library without re-sending all variable details using the REST API, considering that I have sensitive content saved in certain library variables?

Community Center | Not monitored

Your answer

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