Bind to gateway (dataset)
Updated: July 20, 2017
The Bind to gateway operation links a dataset to a gateway. This is only for the On-Premises Data Gateway.
POST https://api.powerbi.com/v1.0/myorg/datasets/{dataset_id}/BindToGateway
Groups
Groups are a collection of unified Azure Active Directory groups that the user is a member of and is available in the Power BI service. These are referred to as app workspaces within the Power BI service. To learn how to create a group, see Create an app workspace.
POST https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/BindToGateway
Header
Authorization: Bearer eyJ0eX ... FWSXfwtQ
Uri parameter
| Name | Description | Data Type |
|---|---|---|
| group_id | Guid of the Group to use. You can get the group id from the Get Groups operation. Groups are referred to as app workspaces within the Power BI service. | String |
| dataset_id | Guid of the dataset to use. To get a list of datasets, you can call Get Datasets. | String |
Body schema
{
"gatewayId": "c8aae8cf-9de8-4934-9b99-ff45302291ce",
}
Empty
Status code
| Code | Description |
|---|---|
| 200 | OK. Indicates success. |
| 404 | Not found |
| 403 | Unauthorized |
Show: