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/v2/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
Error messages
Invalid session exception (401 Unauthorized)