Logout fails

Symptom

An attempt to log out of the REST API from a script or curl command fails.

Cause

The session cookie was not supplied or does not contain the correct session token.

Action
  1. Repeat the command and send the correct session cookie or modify the script to send the correct session cookie.
  2. If the session cookie has been lost and it is not possible to log out of the session, wait for the session idle time limit to expire.

    When the session idle timeout expires, the session is terminated automatically.