Logout

POST /session/logout

Log out from your Litmind account.

Headers

Name
Value
Required

X-Key

Your API Key

X-SessionId

Your session id

Body

Name
Description
Required

userId

The user id to be logged out

Example

curl \
    -X POST https://litmind.com/api/v1/session/logout \
    -H 'X-Key: bfRCu5GAEP9eMZ7fS6yvPwGxB9Nu7FzUfdnasrCkKkHAyCBZ' \
    -H 'X-SessionId: 313599f212429860887ef23ea326cc863a9186eb1a43a8f1739a1815ebe2a588' \
    -d 'userId=138829'

Response

{
    "isSuccess": true,
    "errorDescription": null
}
  • isSuccess Whether the operation was performed successfully.

  • errorDescription If there was an error, a description.

Last updated