Ends an ThingSpace Platform session and invalidates the session token.
NOTE: The ThingSpace Platform will continue to send callback responses after a session has been logged out.
Parameter | Type | Description |
SessionToken
required |
string | The unique token for the session that you want to terminate. |
Parameter | Type | Description |
SessionToken | string | The unique token of the session that was terminated. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://nphase.com/unifiedwebservice/v2" xmlns:nph="http://schemas.datacontract.org/2004/07 /NPhase.UnifiedWebService.APIs.v2.Contract.SessionService"> <soapenv:Header> <v2:token>fa59c858-833e-4a4e-a6a8-56f382abcdd5</v2:token> </soapenv:Header> <soapenv:Body> <v2:LogOut> <v2:Input> <nph:SessionToken>fa59c858-833e-4a4e-a6a8-56f382abcdd5</nph:SessionToken> </v2:Input> </v2:LogOut> </soapenv:Body> </soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <LogOutResponse xmlns="http://nphase.com/unifiedwebservice/v2"> <Output xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:a="http://schemas.datacontract.org/2004/07/NPhase.UnifiedWebService.APIs.v2.Contract.SessionService"> <a:SessionToken>fa59c858-833e-4a4e-a6a8-56f382abcdd5</a:SessionToken> </Output> </LogOutResponse> </soapenv:Body> </soapenv:Envelope>