Pipelines - Unassign Workspace

Unassigns the workspace from the specified stage in the specified deployment pipeline.

Required Scope

Pipeline.ReadWrite.All

Limitations

This operation will fail if there's an active deployment operation.

POST https://api.powerbi.com/v1.0/myorg/pipelines/{pipelineId}/stages/{stageOrder}/unassignWorkspace

URI Parameters

Name In Required Type Description
pipelineId
path True

string

uuid

The deployment pipeline ID

stageOrder
path True

integer

int32

The deployment pipeline stage order. Development (0), Test (1), Production (2).

Responses

Name Type Description
200 OK

OK

Examples

Unassign a workspace from a deployment pipeline example

Sample request

POST https://api.powerbi.com/v1.0/myorg/pipelines/a5ded933-57b7-41f4-b072-ed4c1f9d5824/stages/0/unassignWorkspace

Sample response