Forum Discussion
amir1231905
Oct 02, 2023Copper Contributor
Modifying Release Retention Policy via the API in Azure DevOps Server
Hi, Is there a way to adjust the Release Retention in the Project Settings, specifically the Maximum retention policy and Default retention policy via the API in Azure DevOps Server? I'm looking to automate this process but am struggling to find clear documentation or references on the appropriate API endpoints or methods.
1 Reply
How about considering some workaround:
- PowerShell + TFS API: Leverage PowerShell scripts with TFS assemblies to manipulate settings, but this requires deep access.
- Database-level edits: Better work by Microsoft support from the back