Get Workspaces
Updated: January 23, 2017
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
| Name | Description |
|---|---|
| workspaceCollectionName (required) | The workspace collection name |
Status code
| Code | Description |
|---|---|
| 200 | OK. 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: