'Rename the user.
.. note::
This is only available for administrators of a GitHub Enterprise
instance.
:param str login: (required), new name of the user
:returns: bool'

@requires_auth
def rename(self, login):

    url = self._build_url(u'admin', u'users', self.login)
    payload = {u'login': login}
    resp = self._boolean(self._patch(url, data=payload), 202, 403)
    return resp
