Workspace - Adds a user to a workspace
Adds a user to a Power BI workspace with the specified access level based on the provided details.
post
Authorizations
Path parameters
tenantIdstring · uuidRequired
Enter the 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
Success: User successfully added to the workspace.
404
Not Found: Indicates that the requested tenant does not exist.
500
Internal Server Error: An unexpected error occurred or a server timeout.
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
}
PreviousWorkspace - Retrieves users with workspace accessNextWorkspace - Updates user access to a workspace
Last updated