共用方式為


Dashboards - Delete

刪除指定其識別碼的儀表板。 這也會刪除與此儀表板相關聯的小工具。

DELETE https://dev.azure.com/{organization}/{project}/{team}/_apis/dashboard/dashboards/{dashboardId}?api-version=7.1-preview.3

URI 參數

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

string

uuid

要刪除的儀表板識別碼。

organization
path True

string

Azure DevOps 組織的名稱。

project
path True

string

專案識別碼或專案名稱

team
path

string

小組識別碼或小組名稱

api-version
query True

string

要使用的 API 版本。 這應該設定為 '7.1-preview.3',以使用此版本的 API。

回應

名稱 類型 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.dashboards_manage 授與管理小組儀表板資訊的能力

範例

Sample Request

DELETE https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/dashboard/dashboards/7562562a-4f9f-4258-94a9-b048b1c817cf?api-version=7.1-preview.3

Sample Response