logout

The logout API ends the current session and cancels the authentication cookie.

URL

/qcbin/authentication-point/logout

Remarks

Logging off ends the session by setting the session cookie to expired.

Caution: When a session ends, all locks are released. Therefore, if an application connects to a new session, discard all data downloaded previously. If you do not, a PUT operation can overwrite changes made by another user while the entity was not locked.

HTTP Methods

GET/PUT/DELETE/POST: Disconnects from the ALM client.

Media Type
GET
PUT
DELETE
POST
application/xml

 

check
check
check
application/json

 

check
check
check

Starting from ALM 24.1, the GET method is disabled unless the ENABLE_GET_LOGOUT_METHOD parameter is set to Y.

Returns

One of the HTTP Return Codes.

User cookies set to expired.

Examples

Headers:

Set-Cookie: LWSSO_COOKIE_KEY=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/

Set-Cookie: QCSession=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/