getRolesPaginated
suspend fun Organization.getRolesPaginated(offset: Int = 0, limit: Int = 20): ClerkResult<ClerkPaginatedResponse<Role>, ClerkErrorResponse>
Retrieves the paginated list of roles available within this organization.
Return
A ClerkResult containing a paginated response of Role objects on success, or a ClerkErrorResponse on failure.
Parameters
offset
The number of roles to skip when paginating through results. Default is 0.
limit
The maximum number of roles to return per request. Default is 20.