Roles
List Roles
Get a paginated list of all active roles in the system
GET
Overview
Retrieves all active roles in the system with pagination support. Any authenticated user can view the list of roles.Authentication
Requires JWT authentication token in the Authorization header.Query Parameters
Page number for pagination.
Number of records per page. Maximum: 50.
Response
Indicates if the request was successful.
Success message.
Source Code Reference
- Route:
src/routes/role.routes.js:93 - Controller:
src/controllers/roleController.js:22
