'Logout the session.'

def logout(self):

    url = '/sessions'
    if self.url:
        result = self.do_call(url, None, 'DELETE')
        self._assert_rest_result(result, _('Logout    session    error.'))
