Get All Users
GET/users
Returns all users for the current tenant with optional filtering and pagination. If includeRoles is true, the response includes roles for each user. If includeRoles is false or not provided, only user objects are returned without roles.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Users retrieved successfully. When includeRoles is true, returns UserListResponseWithRolesDto containing users with their roles. When includeRoles is false or not provided, returns UserListResponseDto containing only user objects without roles.
Bad request - Invalid request parameters or missing required headers
Authentication required - Valid authentication token is missing or invalid
Forbidden - User does not have the required permissions to read users
Internal server error - An unexpected error occurred while processing the request