MicrosoftDocs / vsts-rest-api-specs

MIT License
166 stars 115 forks source link

[Bug] Documentation is not correct. #458

Open HenrikSommer-Energinet opened 3 years ago

HenrikSommer-Energinet commented 3 years ago

This page https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-6.0

Describe how to create a policy in Azure Devops for a pipeline. POST https://dev.azure.com/{organization}/{project}/_apis/policy/configurations/{configurationId}?api-version=6.0 configurationId is not need when you create a new. but is when you want to update it later.

The error exists in other version than 6.0.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

nechvatalp commented 2 years ago

@HenrikSommer-eng thanks for reporting the issue, I contacted the team owning this API with the feedback.