Share via


Role Based Access Control - List Role Assignments

List role assignments.
Retrieves a list of role assignments. PRIVATE PREVIEW https://aka.ms/PowerPlatform/RBAC .

GET https://api.powerplatform.com/authorization/roleAssignments?api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
api-version
query True

string

The API version.

Responses

Name Type Description
200 OK

RoleAssignmentResponse

A list of role assignments.

400 Bad Request

Bad Request - The query parameters are invalid.

401 Unauthorized

Unauthorized - Invalid credentials or missing authentication.

404 Not Found

Not Found - The specified resource does not exist.

500 Internal Server Error

Internal Server Error - Unexpected server error.

Security

oauth2

Microsoft Entra ID OAuth2

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com

Scopes

Name Description
.default .default

Definitions

Name Description
RoleAssignmentResponse

The role assignments.

Value

RoleAssignmentResponse

The role assignments.

Name Type Description
value

Value[]

Value

Name Type Description
id

string

Role definition ID

name

string

Role definition name

permissions

string[]