# logout

Description: Notification after logout

Example:

{
    "event": "logout",
    "result": 0,
    "cause": 0,
    "method": "event"
}

Parameter description:

  • result — Logout result. It can be as follows:

    • 0 — Successful

    • 1 — This user is already logged out

  • cause — Logout cause. It can be as follows:

    • 0 — On request

    • 1 — A user with this login is logged in

See also: