Logout
This API requires the identifier of the session.
The session token is valid for 8 hours, set through the parameter sessionTimeout (→ OptimaWSI configuration > OptimaAuth section).

Response status
HTTP status | Description |
---|---|
200 OK |
Result of the processed request. |
400 Bad request |
Several conditions can be classified under this code. Generally, when the API has been called with wrong arguments. |
Response content-type
JSON
Response entity
Empty JSON object.

Tip: The previous Login has returned the sessionId=736955457f1df56343561167a214d119.
Request
https://<OPTIMA_HOST_IP_ADDRESS>:<PORT_NUMBER>/optima-wsi/auth/logout/?session=736955457f1df56343561167a214d119
Response status
200
Response output
Empty object.
Important: The response status 400 can be caused by a wrong sessionId or if sessionId=null.