POST /v1.0/myorg/groups/{groupId}/datasets/{datasetId}/GenerateToken
Datasets GenerateTokenInGroup
Generates an embed token to Embed Q&A based on the specified dataset from the specified workspace.
This API is relevant only to 'App owns data' embed scenario.
Required scope: Dataset.ReadWrite.All or Dataset.Read.All
To set the permissions scope, see Register an app.When using service principal for authentication, refer to Service Principal with Power BI document along with considerations and limitations section.
Servers
- https://api.powerbi.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
groupId |
String | Yes | |
datasetId |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
accessLevel |
String | No | |
datasetId |
String | No | |
allowSaveAs |
String | No | |
identities |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.