Gateways - Delete Datasource User

Removes the specified user from the specified datasource.

Required scope: Dataset.ReadWrite.All
To set the permissions scope, see Register an app.

DELETE https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources/{datasourceId}/users/{emailAdress}

URI Parameters

Name In Required Type Description
gatewayId
path True
  • string
uuid

The gateway id

datasourceId
path True
  • string
uuid

The datasource id

emailAdress
path True
  • string

The user's email address or the service principal object id

Responses

Name Type Description
200 OK

OK

Examples

example

Sample Request

DELETE https://api.powerbi.com/v1.0/myorg/gateways/1f69e798-5852-4fdd-ab01-33bb14b6e934/datasources/252b9de8-d915-4788-aaeb-ec8c2395f970/users/john@contoso.com

Sample Response