Logout user
get
/oiri/api/v1/logout
api logs out user by invalidating the `JSESSIONID` cookie.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Security
-
JSESSIONID: apiKey
Type:
apiKey
Response
Supported Media Types
- application/json
200 Response
OK. If response is OK, HTTP status code 200 is returned. Logout operation ends users session.
Headers
401 Response
Unauthorized
Examples
The following example shows how to log out a user.
curl -X GET\ -H "Accept: application/json"\ "http://localhost:port/oiri/api/v1/logout"
Example of the Response Body
The following is an example of the response body in JSON format.
{message: "User logged out"}