user

POST /api/user/login

Changed on

Sets a session cookie for the user

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid
    • or none

Request body

emailstring email required
passwordstring required
otpstring

Response

emailstring email required
passwordstring required

Changes

    • breaking

      added to the oneOf[#/components/schemas/UserLoginCreateValidationError]/errors/items response property oneOf list for the response status

    • info

      added the new optional request property otp

    • info

      added otp discriminator mapping keys to the oneOf[#/components/schemas/UserLoginCreateValidationError]/errors/items response property for the response status