def METHOD_NAME(self):
    '''
    Generate new API keys for the current user.
    :devportal:`session: keys <session-keys>`
    Returns:
        :obj:`dict`:
            A dictionary containing the new API Keypair.
    Examples:
        >>> keys = tio.session.gen_api_keys()
    '''
    return self._api.put('session/keys').json()