An API to allow you to view all custom roles & permissions in your Sonar Account assuming you have Custom Roles & Permissions enabled


This API will provide the roles from a given Sonar Account and permissions associated with each role. Your account must have custom roles and permissions enabled in order to use this API. See custom roles and permissions for more detail regarding Sonar's roles-based access control (RBAC) functionality.

Developers can use this API to retrieve role IDs that can used to specify a new users role when requesting POST Invite New User. New roles can be created by requesting POST Create New Role & Permission.

Admin Role

Admin roles by default have all permissions enabled