Jaa


Groups - Delete User In Group

Deletes the specified user permissions from the specified workspace.

Permissions

This API call can be called by a service principal profile. For more information see: Service principal profiles in Power BI Embedded.

Required Scope

Workspace.ReadWrite.All

DELETE https://api.powerbi.com/v1.0/myorg/groups/{groupId}/users/{user}
DELETE https://api.powerbi.com/v1.0/myorg/groups/{groupId}/users/{user}?profileId={profileId}

URI Parameters

Name In Required Type Description
groupId
path True

string

uuid

The workspace ID

user
path True

string

The email address of the user or object ID of the service principal to delete

profileId
query

string

uuid

The service principal profile ID to delete

Responses

Name Type Description
200 OK

OK

Examples

Example

Sample request

DELETE https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/users/john@contoso.com

Sample response