Interface OrganizationsMembersResource
public interface OrganizationsMembersResource
-
Method Summary
Modifier and TypeMethodDescriptionReturns the organizations associated with the user that has the specified id.getOrganizations
(String id, boolean briefRepresentation) Returns the organizations associated with the user that has the specified id.
-
Method Details
-
getOrganizations
@Path("{id}/organizations") @GET @Produces("application/json") List<OrganizationRepresentation> getOrganizations(@PathParam("id") String id) Returns the organizations associated with the user that has the specified id.- Parameters:
id
- user id- Returns:
- Organizations of the user
-
getOrganizations
@Path("{id}/organizations") @GET @Produces("application/json") List<OrganizationRepresentation> getOrganizations(@PathParam("id") String id, @QueryParam("briefRepresentation") @DefaultValue("true") boolean briefRepresentation) Returns the organizations associated with the user that has the specified id.- Parameters:
id
- user idbriefRepresentation
- 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:
- Organizations of the user
-