Users - Refresh User Permissions
Refreshes user permissions in Power BI.
When a user is granted permissions to a workspace, app, or artifact, it might not be immediately available through API calls.
This operation refreshes user permissions and makes sure the user permissions are fully updated.
Important:
- Make the refresh user permissions call, before any other API calls.
- It takes about two minutes for the permissions to get refreshed. Before calling other APIs, wait for two minutes.
To set the permissions scope, see Register an app.
Restrictions
User can call this API once per hour.POST https://api.powerbi.com/v1.0/myorg/RefreshUserPermissions
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Examples
example
Sample Request
POST https://api.powerbi.com/v1.0/myorg/RefreshUserPermissions