Admin - Pipelines DeleteUserAsAdmin

从指定的部署管道中删除用户权限。

Permissions

用户必须具有管理员权限。

所需范围

Tenant.ReadWrite.All

局限性

每小时最多 200 个请求。

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

URI 参数

名称 在 必需 类型 说明
identifier
path True

string

对于主体类型 User,请提供用户主体名称(UPN)。 否则,请提供主体 的对象 ID 。

pipelineId
path True

string (uuid)

部署管道 ID

响应

名称 类型 说明
200 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

示例响应