1. Home
  2. Docs
  3. API Connection Guidelines
  4. Security
  5. Force logout

Force logout

Returns a flag indicating if Scriptation should log the user out (for security reasons). Scriptation will call this endpoint up to once a day.
GET https://yoursite.com/your_api_path/forcelogout

Parameters
none

Response
Returns a flag indicating if Scriptation should log the user out.

Example of a JSON body:

{
  "shouldLogout": false,
}

Error response
The error response is a single JSON object that contains a single property named error. Here is an example of a full JSON error body:

{
   "error": {
        "code": 123,
        "message": "Error description"  
   }
}