Appearance
logoutUser ​
Logs out a logged-in user. Removes all related session data from SAM. De-registers any existing devlces if deviceId passed and device exists.
Request ​
http
POST /rest/user/logoutParameters ​
deviceId (optional, if set will deregister the device)
Response ​
200 OK ​
// , device is deregistered successfully or when deviceId is not set
json
{"booleanValue":true}json
{"booleanValue”:false}Errors ​
| Exception | Description |
|---|---|
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSUserServiceException | See Error Definitions |