Interface UserAdminApi


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

      • create

        @Named("user:create")
        @POST
        @Nullable
        User create​(String name,
                    String password)
        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