# Login

Validates a login and logs that the user has logged in

Endpoint: POST /slapi/users/login
Version: 0.0.1
Security: BasicAuthCredentials

## Security:

  - `BasicAuthCredentials` (unknown)
    http basic

## Request fields (application/json):

  - `email` (string)
    Example: test@test.com

  - `password` (string)
    Example: Password123

## Response 200:

  - `200` (unknown)
    Login

## Response 200 fields (application/json):

  - `clientNumber` (string)
    Example: 0000000001

  - `message` (string)

  - `userId` (integer)
    Example: 1

## Response 400:

  - `400` (unknown)
    Invalid login credentials

## Response 400 fields (application/json):

  - `error` (string)

  - `message` (string)

