Skip to main content

Authenticate against the API

POST 

/ops/login

The login endpoint returns a JSON web token that should be used in the Authorization header of all subsequent requests.

Request

Body

required
    username stringrequired

    Possible values: <= 50 characters

    The username of your terminal management system (TMS) account.

    password stringrequired

    The password of your terminal management system (TMS) account.

Responses

OK

Schema
    tokenDetails object
    accessToken string

    Token value to use in the Authorization header of all subsequent requests.

    refreshToken string

    Refresh token value to use in the Authorization header of all subsequent requests.

    scopes string

    Scopes granted to the user.

    expirationDatetime string

    Expiration date/time of the token.

    user object
    username string

    The username logged in.

    name string

    Name of the user logged in.

    email string

    Email of the user logged in.

    role string

    Role of the user logged in.

    created string

    Creation date/time of the user.

Loading...