Logout

Important: Since CloudBlue version 21.18, session management API is disabled by default and will become end of life in one of the future versions. This is done for security reasons, and we strongly recommend updating your integrations to use a more reliable authentication method, such as using IDP tokens, SAML-based single sign-on, or shared secret.

This method deletes the existing CloudBlue Commerce session.

Input parameters:

Name Description

event

A parameter specifying the method to call. The value must be the logout for this method.

session_id

The ID of the session.

Calling of this method returns the following responses:

  • HTTP Status 200 is returned if session deletion succeeds.
  • HTTP Status 403 is returned if session deletion fails.

Example

curl -k https://cp.brand01.acom/servlet/Sessions\?event=logout\&session_id=000001