code: @Deprecated
      public void deleteProjectMembership(Membership membership) throws RedmineException {
          transport.deleteObject(Membership.class, membership.getId().toString());
      }
docs: DEPRECATED. use membership.delete() instead.