Skip to main content

Authenticates the user with the specified credentials

POST 

/v1/users/default/login

Authenticates the user with the specified credentials

Request

Query Parameters

    setCookie boolean

    Default value: true

    Describes a way to set cookie from backend.

    extendedSession boolean

    Flag which if set to true will extend token timeout for the user to 24hrs and if not set will default to 2hrs

Body

required

    passwordpassword

    The user's password to authenticate user for system login

    usernamestring

    The username of the user trying to do system login

Responses

OK

Schema

    IsFirstLoginboolean

    Flag to indicate if the user is logging in for the first time

    Token

    object

    System login token

    Authorizationstring

    The token granting the authorization access to the user

Loading...