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.0configurationId 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.
ID: 2236005e-4cf6-d2b1-0468-b0384473466b
Version Independent ID: d6f7a689-007a-dc95-c585-44cd1f75caae
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.