Bind to gateway (dataset)

 

Updated: July 20, 2017



Request | Response

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

NameDescriptionData Type
group_idGuid 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_idGuid 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

CodeDescription
200OK. Indicates success.
404Not found
403Unauthorized
Show: