def regenerateChannelToken(self, channel):
    if self.skey == None:
      raise AuthenticationError("Authentication Error; Message: This method requires access key and secret key authentication!")

    endpoint = "%s/%s/token/regenerate" % ( __channelsEndpoint__, channel )

    response = self.__getData__( endpoint, None, True )
    return response;
dataset/ETHPy150Open beebotte/bbt_python/beebotte/__init__.py/BBT.regenerateChannelToken/original