Admin - Pipelines DeleteUserAsAdmin

從指定的部署管線移除使用者權限。

權限

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

必要範圍

租戶.ReadWrite.All

局限性

每小時最多 200 個請求。

DELETE https://api.powerbi.com/v1.0/myorg/admin/pipelines/{pipelineId}/users/{identifier}

URI 參數

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

string

針對主體類型 User,提供使用者主體名稱 (UPN)。 否則,請提供主體的 物件識別碼 。

pipelineId
path True

string (uuid)

部署管線識別碼

回應

名稱 類型 Description
200 OK

OK

範例

Remove group access to a deployment pipeline example
Remove service principal access to a deployment pipeline example
Remove user access to a deployment pipeline example

Remove group access to a deployment pipeline example

範例要求

DELETE https://api.powerbi.com/v1.0/myorg/admin/pipelines/8ce96c50-85a0-4db3-85c6-7ccc3ed46523/users/5dba60b0-d9a7-42a3-b12c-6d9d51e7739a

範例回覆

Remove service principal access to a deployment pipeline example

範例要求

DELETE https://api.powerbi.com/v1.0/myorg/admin/pipelines/8ce96c50-85a0-4db3-85c6-7ccc3ed46523/users/a35d842b-90d5-59a1-c56a-5f8fcff0bf9d

範例回覆

Remove user access to a deployment pipeline example

範例要求

DELETE https://api.powerbi.com/v1.0/myorg/admin/pipelines/8ce96c50-85a0-4db3-85c6-7ccc3ed46523/users/john@contoso.com

範例回覆