Přeskočit na hlavní obsah

Log in user

Request Body

The JSON object with following structure.

  • email string

    New e-mail address

  • password string

    Current password for verification

Responses

The JSON object with following schema is returned.

Schema
  • success boolean

    The result of action

  • login_result boolean

    The result of login action

  • blocked boolean

    True if user or device is temporarily blocked

  • user_id integer

    Logged user id if the login action was successful

  • otp boolean

    True if user has OTP enabled

  • authenticated boolean

    True if the request was authenticated

  • status integer

    Response status code