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