Pipelines - Unassign Workspace
从指定部署管道中的指定阶段取消分配工作区。
所需范围
Pipeline.ReadWrite.All
局限性
如果存在活动部署作,此作将失败。
POST https://api.powerbi.com/v1.0/myorg/pipelines/{pipelineId}/stages/{stageOrder}/unassignWorkspace
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
pipeline
|
path | True |
string (uuid) |
部署管道 ID |
|
stage
|
path | True |
integer (int32) |
部署管道阶段顺序。 开发(0)、测试(1)、生产(2)。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
好的 |
示例
Unassign a workspace from a deployment pipeline example
示例请求
POST https://api.powerbi.com/v1.0/myorg/pipelines/a5ded933-57b7-41f4-b072-ed4c1f9d5824/stages/0/unassignWorkspace