You can view the permissions added to a role using the or the . The assigned permissions and roles are used with the API Authorization Core feature set.

Prerequisites

For role-based access control (RBAC) to work properly, you must enable it for your API using either the Dashboard or the Management API. The Authorization Core functionality is different from the Authorization Extension. For a comparison, read Authorization Core vs. Authorization Extension.

Dashboard

  1. Go to Dashboard > User Management > Roles and click the name of the role to view.
  2. Click the Permissions view.
The following information is displayed for each permission:
ColumnDescription
NameName of the permission from the permission definition.
DescriptionDescription of the permission from the permission definition.
APIName of the API to which the permission is attached.

Management API

Make a GET call to the Get Role Permissions endpoint. Be sure to replace ROLE_ID and MGMT_API_ACCESS_TOKEN placeholder values with your role ID and Management API , respectively.
curl --request GET \
  --url 'https://{yourDomain}/api/v2/roles/ROLE_ID/permissions' \
  --header 'authorization: Bearer MGMT_API_ACCESS_TOKEN'
ValueDescription
ROLE_IDΤhe ID of the role for which you want to get permissions.
MGMT_API_ACCESS_TOKENAccess Token for the Management API with the scope read:roles.

Learn more