'Destroy the user\'s current WebSudo session.
Works only for non-cloud deployments, for others does nothing.'

def kill_websudo(self):

    if (self.deploymentType != u'Cloud'):
        url = (self._options[u'server'] + u'/rest/auth/1/websudo')
        return self._session.delete(url)
