diff --git a/js/libs/keycloak-admin-client/src/resources/groups.ts b/js/libs/keycloak-admin-client/src/resources/groups.ts index 7d1655a76c..5139c2ef1b 100644 --- a/js/libs/keycloak-admin-client/src/resources/groups.ts +++ b/js/libs/keycloak-admin-client/src/resources/groups.ts @@ -8,6 +8,7 @@ import type UserRepresentation from "../defs/userRepresentation.js"; import Resource from "./resource.js"; interface Query { + q?: string; search?: string; exact?: boolean; } @@ -35,7 +36,14 @@ export interface GroupCountQuery { export class Groups extends Resource<{ realm?: string }> { public find = this.makeRequest({ method: "GET", - queryParamKeys: ["search", "exact", "briefRepresentation", "first", "max"], + queryParamKeys: [ + "search", + "q", + "exact", + "briefRepresentation", + "first", + "max", + ], }); public create = this.makeRequest({