'Removes a key (unregister ?)'

def delkey(self, key):

    if (type(key) == str):
        if (key in self._apikey):
            self._apikey.remove(key)
    elif (type(key) == list):
        for k in key:
            if (key in self._apikey):
                self._apikey.remove(k)
