共用方式為


Gateways - Delete Datasource User

從指定的資料來源中移除指定的使用者。

權限

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

必要範圍

Dataset.ReadWrite.All

局限性

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

DELETE https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources/{datasourceId}/users/{emailAdress}
DELETE https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources/{datasourceId}/users/{emailAdress}?profileId={profileId}

URI 參數

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

string (uuid)

資料來源識別碼

emailAdress
path True

string

使用者的電子郵件地址或服務主體的物件識別碼

gatewayId
path True

string (uuid)

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

profileId
query

string (uuid)

要刪除的服務主體設定檔識別碼

回應

名稱 類型 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/users/john@contoso.com

範例回覆