Skip to content

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/logout

Parameters ​

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 ​

ExceptionDescription
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSUserServiceExceptionSee Error Definitions