{
  "opencollection": "1.0.0",
  "info": {
    "name": "Contentstack Analytics Accounts User Sessions API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "User Sessions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Log in a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.contentstack.io/user-session",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Authenticates a user with their email and password and returns an authtoken for use in subsequent API requests. The authtoken is valid for the duration of the session."
        },
        {
          "info": {
            "name": "Log out a user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.contentstack.io/user-session"
          },
          "docs": "Invalidates the current user session and authtoken, signing the user out of all Contentstack sessions."
        }
      ]
    }
  ],
  "bundled": true
}