Login User

Login User

Note: UPN(e.g. [email protected]) based login is not supported.
Only Administrators on Root access group are allowed to login.

Request
URI
POST
https://{api_host}//localhost/rest/login
COPY
Request Body

Login credentials needed for Authentication

AuthLogin of type(s) application/json
Required
{
    "domain": "AD-TEST-DOMAIN",
    "password": [
        "string"
    ],
    "username": "Administrator"
}
string
domain
Required

Domain

array of string
password
Required

User password

string
username
Required

User Name

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns AuthTokens of type(s) */*
{
    "access_token": "<jwt.access.token>",
    "refresh_token": "<jwt.refresh.token>"
}
string
access_token
Required

Access Token to be used in API calls.

string
refresh_token
Required

Refresh Token to be used to get a new Access token.


400

Bad Request

Operation doesn't return any data structure

401

User is not authenticated

Operation doesn't return any data structure