Interface OrganizationMemberResource
public interface OrganizationMemberResource
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
delete()
Returns the organizations associated with the usergetOrganizations
(boolean briefRepresentation) Returns the organizations associated with the user
-
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
-