Post Workspace

 


Request | Response

The Post Workspace creates a Workspace object.

Note To call this operation, an app token or key is required. To learn more, see Authenticating and authorizing with Power BI Workspace Collections.

Request

POST https://api.powerbi.com/v1.0/collections/{collectionName}/workspaces

Uri parameter

Name Description
collectionName (required) The workspace collection name

Request Body

CreateWorkspaceRequest {
  name:string
}

Response

Status code

Code Description
201 Created. Indicates success. An Workspace object is returned in the response body.

Content-Type

application/json

Body schema

{  
"@odata.context": "http://api.powerbi.com/v1.0/collections/{workspaceCollectionName}/workspaces",  
   Workspace {  
        workspaceId:string  
        workspaceCollectionName:string  
        displayName:string
    }  
}