Post Workspace

 

Updated: January 23, 2017



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 Embedded.

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

Uri parameter

NameDescription
collectionName (required)The workspace collection name

Request Body

CreateWorkspaceRequest {
  name:string
}

Status code

CodeDescription
201Created. 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
    }  
}  

Show: