Sdílet prostřednictvím


Classification Nodes - Delete

Odstraňte existující uzel klasifikace.

DELETE https://dev.azure.com/{organization}/{project}/_apis/wit/classificationnodes/{structureGroup}/{path}?api-version=6.0
DELETE https://dev.azure.com/{organization}/{project}/_apis/wit/classificationnodes/{structureGroup}/{path}?$reclassifyId={$reclassifyId}&api-version=6.0

Parametry identifikátoru URI

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

string

Název organizace Azure DevOps.

project
path True

string

ID projektu nebo název projektu

structureGroup
path True

TreeStructureGroup

Skupina struktury klasifikačního uzlu, oblasti nebo iterace.

path
path

string

Cesta uzlu klasifikace.

api-version
query True

string

Verze rozhraní API, která se má použít. Tato verze rozhraní API by měla být nastavená na hodnotu 6.0.

$reclassifyId
query

integer

int32

ID cílového klasifikačního uzlu pro reklasifikaci.

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.work_write Uděluje možnost číst, vytvářet a aktualizovat pracovní položky a dotazy, metadata aktualizačního panelu, oblast čtení a iterace cest k jiným metadatům souvisejícím se sledováním pracovních položek, spouštět dotazy a přijímat oznámení o událostech pracovních položek prostřednictvím zachytávání služeb.

Příklady

Delete an area node
Delete an iteration node

Delete an area node

Sample Request

DELETE https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/wit/classificationnodes/{structureGroup}?$reclassifyId=3568&api-version=6.0

Sample Response

Delete an iteration node

Sample Request

DELETE https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/wit/classificationnodes/{structureGroup}?$reclassifyId=3569&api-version=6.0

Sample Response

Definice

TreeStructureGroup

Skupina struktury klasifikačního uzlu, oblasti nebo iterace.

Name Typ Description
areas

string

iterations

string