Workspace - Add a user to the Power BI workspace with some requested access
Authorizations
Path parameters
tenantIdstring · uuidRequired
Expects Id of an existing tenant
Query parameters
versionstringOptionalDefault:
The requested API version
1.0
Body
Class for storing workspace role assignment details.
userIdentifierstring | nullableOptional
A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the UserIdentifier property.
groupUserAccessRightstring · enumOptionalPossible values:
Enum for group user access right.
principalTypestring · enumOptionalPossible values:
Enum for principal type.
Responses
200
Indicates successful addition of user to a workspace
404
Indicates that the requested tenant/user does not exist
500
Server related error
post
POST /tenants/{tenantId}/pbiUsers HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"userIdentifier": "text",
"groupUserAccessRight": "None",
"principalType": "None"
}
{
"message": "Success Message",
"statusCode": 200
}
Last updated