Get Workspaces

 

Updated: January 23, 2017



Request | Response

The Get Workspaces operation returns an JSON object which represents list of Workspace objects.

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

GET https://api.powerbi.com/v1.0/collections/{workspaceCollectionName}/workspaces

Uri parameter

NameDescription
workspaceCollectionName (required)The workspace collection name

Status code

CodeDescription
200OK. Indicates success. An empty object is returned in the response body.

Content-Type

application/json

Body schema

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

Show: