Sdílet prostřednictvím


Deploymentgroups - Delete

Odstraňte skupinu nasazení.

DELETE https://dev.azure.com/{organization}/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}?api-version=5.0-preview.1

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
deploymentGroupId
path True

integer

int32

ID skupiny nasazení, která se má odstranit.

organization
path True

string

Název organizace Azure DevOps.

project
path True

string

ID projektu nebo název projektu

api-version
query True

string

Verze rozhraní API, která se má použít. Aby se tato verze rozhraní API používala, měla by být nastavená na 5.0-preview.1.

Odpovědi

Name Typ Description
200 OK

úspěšná operace

Zabezpečení

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Name Description
vso.machinegroup_manage Umožňuje spravovat skupiny nasazení a fondy agentů.

Příklady

Delete a deployment group

Sample Request

DELETE https://dev.azure.com/fabrikam/{project}/_apis/distributedtask/deploymentgroups/{deploymentGroupId}?api-version=5.0-preview.1

Sample Response