POST /v1.0/myorg/gateways/{gatewayId}/datasources/{datasourceId}/users
Add Datasource User
Grants or updates the permissions required to use the specified datasource for the specified user.
Required scope: Dataset.ReadWrite.All
To set the permissions scope, see Register an app.
Servers
- https://api.powerbi.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
gatewayId |
String | Yes | |
datasourceId |
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 |
---|---|---|---|
datasourceAccessRight |
String | No | |
identifier |
String | No | |
emailAddress |
String | No | |
displayName |
String | No | |
principalType |
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.