共用方式為


Gateways - Delete Datasource

從指定的閘道刪除指定的資料來源。

權限

使用者必須具有閘道管理員權限。

必要範圍

Dataset.ReadWrite.All

局限性

不支援虛擬網路 (VNet) 閘道。

DELETE https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources/{datasourceId}

URI 參數

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

string (uuid)

資料來源識別碼

gatewayId
path True

string (uuid)

閘道 ID。 使用閘道叢集時,閘道 ID 是指叢集中的主要 (第一個) 閘道。 在這種情況下,閘道 ID 類似於閘道叢集 ID。

回應

名稱 類型 Description
200 OK

OK

範例

Example

範例要求

DELETE https://api.powerbi.com/v1.0/myorg/gateways/1f69e798-5852-4fdd-ab01-33bb14b6e934/datasources/252b9de8-d915-4788-aaeb-ec8c2395f970

範例回覆