Login User
Note: UPN(e.g. [email protected]) based login is not supported.
Request
URI
POST
https:///rest/login
COPY
Path Parameters
string
Accept-Language
Optional
Header to support localization.
Query Parameters
string
client_reference_id
Optional
Client reference identifier present in the response of key-agreement api.
Request Body
AuthLogin of type(s) application/json
Required
{
"domain": "AD-TEST-DOMAIN",
"password": [
"<password>"
],
"username": "Administrator"
}
string
domain
Required
Domain
array of string
password
Required
User password
string
username
Required
User Name
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
404
Not Found
Operation doesn't return any data structure