Logout

Log out after making all the calls that you need to cancel the current user session.

API call

<protocol>://<ws-host>:<ws-port>/ws-api/v1/logout?token=<sessionId>

Details

  • POST method
  • Content-Type in the header: application/json
  • Mandatory parameter: the session token (as a query string parameter or as a key-value pair in the header)

Response

A screen shot that shows a typical response to this call.

Error messages

Invalid session exception (401 Unauthorized)