Skip to main content

Login

POST 

/auth

The Login request allows users to authenticate themselves with ANSCER FMS by providing their email address and password.

Request

Body

required
    email emailrequired

    Possible values: >= 5 characters and <= 255 characters

    password stringrequired

    Possible values: >= 6 characters and <= 255 characters

Responses

User logged in

Response Headers
  • x-auth-token string

    JWT token

Schema
    _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    email email

    Possible values: >= 5 characters and <= 255 characters

    role string
    token string

    JWT token

Loading...