Class OrganizationGroupResource
java.lang.Object
org.keycloak.organization.admin.resource.OrganizationGroupResource
-
Constructor Summary
ConstructorsConstructorDescriptionOrganizationGroupResource(KeycloakSession session, OrganizationProvider organizationProvider, OrganizationModel organization, GroupModel group, AdminEventBuilder adminEvent) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseaddSubGroup(org.keycloak.representations.idm.GroupRepresentation rep) voidorg.keycloak.representations.idm.GroupRepresentationgetGroup(boolean subGroupsCount) Stream<org.keycloak.representations.idm.MemberRepresentation>getMembers(Integer firstResult, Integer maxResults, Boolean briefRepresentation) Stream<org.keycloak.representations.idm.GroupRepresentation>getSubGroups(String search, Boolean exact, Integer first, Integer max, boolean subGroupsCount) voidvoidleaveGroup(String userId) jakarta.ws.rs.core.ResponseupdateGroup(org.keycloak.representations.idm.GroupRepresentation rep)
-
Constructor Details
-
OrganizationGroupResource
public OrganizationGroupResource(KeycloakSession session, OrganizationProvider organizationProvider, OrganizationModel organization, GroupModel group, AdminEventBuilder adminEvent)
-
-
Method Details
-
getGroup
@GET @Produces("application/json") public org.keycloak.representations.idm.GroupRepresentation getGroup(@QueryParam("subGroupsCount") @DefaultValue("false") boolean subGroupsCount) -
deleteGroup
@DELETE public void deleteGroup() -
updateGroup
@PUT @Consumes("application/json") public jakarta.ws.rs.core.Response updateGroup(org.keycloak.representations.idm.GroupRepresentation rep) -
getSubGroups
@GET @Path("children") @Produces("application/json") public Stream<org.keycloak.representations.idm.GroupRepresentation> getSubGroups(@QueryParam("search") String search, @QueryParam("exact") Boolean exact, @QueryParam("first") @DefaultValue("0") Integer first, @QueryParam("max") @DefaultValue("10") Integer max, @QueryParam("subGroupsCount") boolean subGroupsCount) -
addSubGroup
@POST @Path("children") @Produces("application/json") @Consumes("application/json") public jakarta.ws.rs.core.Response addSubGroup(org.keycloak.representations.idm.GroupRepresentation rep) -
getMembers
-
joinGroup
-
leaveGroup
-