m2x/v2/keys.py
def regenerate(self):
        """ Method for `Regenerate Key <https://m2x.att.com/developer/documentation/v2/keys#Regenerate-Key>`_ endpoint.

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        self.data.update(
            self.api.post(self.item_path(self.key) + '/regenerate')
        )
def regenerate(self):
        """ Method for `Regenerate Key <https://m2x.att.com/developer/documentation/v2/keys#Regenerate-Key>`_ endpoint.

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        self.data.update(
            self.api.post(self.item_path(self.key) + '/regenerate')
        )
def regenerate ( self ) : self . data . update ( self . api . post ( self . item_path ( self . key ) + '/regenerate' ) )
Method for `Regenerate Key <https://m2x.att.com/developer/documentation/v2/keys#Regenerate-Key>`_ endpoint.

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
Method for Regenerate Key <https : // m2x . att . com / developer / documentation / v2 / keys#Regenerate - Key > _ endpoint .