Workspace Collections - get Access Keys
Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/listKeys?api-version=2016-01-29
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Azure resource group |
subscription
|
path | True |
string |
Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
workspace
|
path | True |
string |
Power BI Embedded Workspace Collection name |
api-version
|
query | True |
string |
Client Api Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Get access keys completed successfully |
|
Other Status Codes |
Default Response. It will be deserialized as per the Error definition specified in the schema. Exception will be thrown. |
Definitions
Name | Description |
---|---|
Error | |
Error |
|
Workspace |
Error
Name | Type | Description |
---|---|---|
code |
string |
|
details | ||
message |
string |
|
target |
string |
ErrorDetail
Name | Type | Description |
---|---|---|
code |
string |
|
message |
string |
|
target |
string |
WorkspaceCollectionAccessKeys
Name | Type | Description |
---|---|---|
key1 |
string |
Access key 1 |
key2 |
string |
Access key 2 |