共用方式為


Classification Nodes - Delete

刪除現有的分類節點。

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

URI 參數

名稱 位於 必要 類型 Description
organization
path True

string

Azure DevOps 組織的名稱。

project
path True

string

專案識別碼或專案名稱

structureGroup
path True

TreeStructureGroup

分類節點、區域或反復專案的結構群組。

path
path

string

分類節點的路徑。

api-version
query True

string

要使用的 API 版本。 這應該設定為 '4.1' 以使用此版本的 API。

$reclassifyId
query

integer

int32

重新分類的目標分類節點識別碼。

回應

名稱 類型 Description
200 OK

成功作業

安全性

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

名稱 Description
vso.work_write 授與讀取、建立及更新工作專案和查詢、更新面板中繼資料、讀取區域和反復專案路徑的其他工作專案追蹤相關中繼資料、執行查詢,以及透過服務勾點接收工作專案事件通知的能力。

範例

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=4.1

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=4.1

Sample Response

定義

TreeStructureGroup

分類節點、區域或反復專案的結構群組。

名稱 類型 Description
areas

string

iterations

string