Get data source users (gateways)
Updated: June 23, 2017
The Get data source users operation returns a JSON object which includes a list of users who can make use of the data source.
GET https://api.powerbi.com/v1.0/myorg/gateways/{gateway_id}/datasources/{data_source_id}/users
Header
Authorization: Bearer eyJ0eX ... FWSXfwtQ
Uri parameter
| Name | Description | Data Type |
|---|---|---|
| gateway_id | Guid of the gateway to use. You can get the Gateway id from the Get Gateways operation. | String |
| data_source_id | Guid of the data source to get. You can get the Data source id from the Get data sources operation. | String |
List of principals.
Status code
| Code | Description |
|---|---|
| 200 | OK. Indicates success. |
| 404 | Not found |
| 403 | Unauthorized |
| 500 | Internal service error |
Content-Type
application/json
Show: