Interface OrganizationMemberResource
public interface OrganizationMemberResource
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsedelete()Returns the organizations associated with the usergetOrganizations(boolean briefRepresentation) Returns the organizations associated with the userReturns the organization group memberships for this member
-
Method Details
-
toRepresentation
-
delete
@DELETE jakarta.ws.rs.core.Response delete() -
getOrganizations
@Path("organizations") @GET @Produces("application/json") List<OrganizationRepresentation> getOrganizations()Returns the organizations associated with the user- Returns:
- the organizations associated with the user
- Since:
- Keycloak server 26
-
getOrganizations
@Path("organizations") @GET @Produces("application/json") List<OrganizationRepresentation> getOrganizations(@QueryParam("briefRepresentation") @DefaultValue("true") boolean briefRepresentation) Returns the organizations associated with the user- Parameters:
briefRepresentation- if false, return the full representation. Otherwise, only the basic fields are returned. It is true by default. Parameter supported since Keycloak 26.3. It is assumed to be false for the older Keycloak server versions.- Returns:
- the organizations associated with the user
- Since:
- Keycloak server 26
-
groups
@Path("groups") @GET @Produces("application/json") List<GroupRepresentation> groups(@QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults, @QueryParam("briefRepresentation") @DefaultValue("true") boolean briefRepresentation) Returns the organization group memberships for this member- Parameters:
firstResult- the position of the first result to be processed (pagination offset)maxResults- the maximum number of results to be returnedbriefRepresentation- if false, return the full representation. Otherwise, only the basic fields are returned. It is true by default.- Returns:
- the organization groups the member belongs to
- Since:
- Keycloak server 26
-
groups
@Path("groups") @GET @Produces("application/json") List<GroupRepresentation> groups(@QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults, @QueryParam("search") String search, @QueryParam("briefRepresentation") @DefaultValue("true") boolean briefRepresentation)
-