Removes a feed

        :param user: feed username
        :param name: feed name
        :return: true/false
768002
def delete(self, user, name):
        

        uri = self.client.remote + '/users/{}/feeds/{}'.format(user, name)

        resp = self.client.session.delete(uri)
        return resp.status_code
215036
def delete(self, qname):
        '''
        
        '''
        try:
            q = self.exists(qname)
            if not q:
                return False
            queue = self.show(qname)
            if queue:
                queue.delete()
        except pyrax.exceptions as err_msg:
            log.error('RackSpace API got some problems during deletion: %s',
                      err_msg)
            return False

        return True
863316
def get_feed(self, username):
        

        r = self._query_('/users/%s/feed' % username, 'GET')


        results = [Story(item) for item in r.json()]
        return results
352355
def delete_user(self, username):
        

        url = self._options['server'] + '/rest/api/latest/user/?username=%s' % username

        r = self._session.delete(url)
        if 200 <= r.status_code <= 299:
            return True
        else:
            logging.error(r.status_code)
            return False
519240
def remove(name: str) -> bool:
    
    db = TinyDB(corpus_db_path())
    temp = Query()
    data = db.search(temp.name == name)

    if len(data) > 0:
        path = get_corpus_path(name)
        os.remove(path)
        db.remove(temp.name == name)
        return True

    return False
519522
def remove_user(username):
    
    users = passwd_reader.load_users()

    assert username in users, "Username '%s' not found!" % username

    # remove user from passwd file
    del users[username]
    passwd_reader.save_users(users)

    # remove home directory
    home_dir = settings.DATA_PATH + username
    if os.path.exists(home_dir):
        shutil.rmtree(home_dir)

    reload_configuration()
71308
async def disable_user(self, username):
        
        user_facade = client.UserManagerFacade.from_connection(
            self.connection())
        entity = client.Entity(tag.user(username))
        return await user_facade.DisableUser([entity])
1280913
def delete_user(self, user):
        
        self.service.delete_user(
            user, self.url_prefix, self.auth, self.session, self.session_send_opts)
981310
def UsersDelete (self, user_id):
        
        if self.__SenseApiCall__('/users/{user_id}.json'.format(user_id = user_id), 'DELETE'):
            return True
        else:
            self.__error__ = "api call unsuccessful"
            return False
340841
def index(self, user):
        
        uri = self.client.remote + '/users/{0}/feeds'.format(user)
        return self.client.get(uri)
1311170
def drop_user(self, username):
        
        text = "DROP USER {0}".format(quote_ident(username), method="POST")
        self.query(text, method="POST")
211036
def delete_by_user_name(user_name):
        '''
        
        '''
        try:
            del_count = TabMember.delete().where(TabMember.user_name == user_name)
            del_count.execute()
            return True
        except:
            return False
70153
private User removeUser(Session session, String userName, boolean broadcast) throws Exception
   {
      Node userNode = utils.getUserNode(session, userName);
      User user = readUser(userNode);

      if (broadcast)
      {
         preDelete(user);
      }

      removeMemberships(userNode, broadcast);

      userNode.remove();
      session.save();

      removeFromCache(userName);
      removeAllRelatedFromCache(userName);

      if (broadcast)
      {
         postDelete(user);
      }

      return user;
   }
230924
def removeFriend(self, user):
        
        user = self.user(user)
        url = self.FRIENDUPDATE if user.friend else self.REMOVEINVITE
        url = url.format(userId=user.id)
        return self.query(url, self._session.delete)
1211804
def _subfeed(self, feedname):
        
        url = self.url
        if not url.endswith("/"):
            url += "/"
        return url + feedname
465421
def remove_user_setting(self, section, name, save=False):
    '''
    '''
    configfile = get_configfile_user()
    return _remove_setting(section, name, configfile, save)
1123575
def remove_user(self, user_name, role):
        
        role_uri = self._get_role_uri(role=role)
        return self.api.delete(path=role_uri, data={'username': user_name})