Admin - Pipelines DeleteUserAsAdmin

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

权限

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

所需范围

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

Sample Request

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

Sample Response

Remove service principal access to a deployment pipeline example

Sample Request

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

Sample Response

Remove user access to a deployment pipeline example

Sample Request

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

Sample Response