Interface UserAdminApi


@Beta @Consumes("application/json") @Path("/users") public interface UserAdminApi
Provides access to User Administration actions.
  • Method Details

    • create

      @Named("user:create") @POST @Nullable User create(String name, String password)
      Creates a new user
      Returns:
      the new user
    • create

      @Named("user:create") @POST @Nullable User create(String name, String password, CreateUserOptions options)
      Creates a new user
      Returns:
      the new user
    • delete

      @Named("user:delete") @DELETE @Path("/{id}") boolean delete(@PathParam("id") String userId)
      Deletes an user
      Returns:
      true if successful
    • update

      @Named("user:updateUser") @PUT @Path("/{id}") @Nullable User update(@PathParam("id") String id, UpdateUserOptions options)
      Updates an user
      Returns:
      the updated user