Class OrganizationMemberResource
java.lang.Object
org.keycloak.organization.admin.resource.OrganizationMemberResource
-
Constructor Summary
ConstructorDescriptionOrganizationMemberResource
(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
count()
jakarta.ws.rs.core.Response
getOrganizations
(String memberId) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
inviteUser
(String email, String firstName, String lastName)
-
Constructor Details
-
OrganizationMemberResource
public OrganizationMemberResource(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent)
-
-
Method Details
-
addMember
-
inviteUser
-
inviteExistingUser
@POST @Path("invite-existing-user") @Consumes("application/x-www-form-urlencoded") public jakarta.ws.rs.core.Response inviteExistingUser(@FormParam("id") String id) -
search
@GET @Produces("application/json") public Stream<MemberRepresentation> search(@QueryParam("search") String search, @QueryParam("exact") Boolean exact, @QueryParam("first") @DefaultValue("0") Integer first, @QueryParam("max") @DefaultValue("10") Integer max, @QueryParam("membershipType") String membershipType) -
get
@Path("{member-id}") @GET @Produces("application/json") public MemberRepresentation get(@PathParam("member-id") String memberId) -
delete
@Path("{member-id}") @DELETE public jakarta.ws.rs.core.Response delete(@PathParam("member-id") String memberId) -
getOrganizations
@Path("{member-id}/organizations") @GET @Produces("application/json") public Stream<OrganizationRepresentation> getOrganizations(@PathParam("member-id") String memberId) -
count
-