Invalidate a Salesforce session

    This should be used with extreme caution, for the following (undocumented) reason:
    All API connections for a given user share a single session ID
    This will call logout() WHICH LOGS OUT THAT USER FROM EVERY CONCURRENT SESSION

    return invalidateSessionsResult

def invalidateSessions(self, sessionIds):
    '''
    Invalidate a Salesforce session

    This should be used with extreme caution, for the following (undocumented) reason:
    All API connections for a given user share a single session ID
    This will call logout() WHICH LOGS OUT THAT USER FROM EVERY CONCURRENT SESSION

    return invalidateSessionsResult
    '''
    self._setHeaders('invalidateSessions')
    return self._handleResultTyping(self._sforce.service.invalidateSessions(sessionIds))