Request: POST /papi/v1/auth/Login
Provide valid username and password and send the login request
Parameter | Parameter Type | Mandatory | Description |
---|---|---|---|
User info | Body | yes | User and Password in JSON format in the request body. See the format below |
{
"User": "string",
"Password": "string"
}
Response as a valid response the “x-auth-token” is returned.
{
"x-auth-token": "[Token]"
}
The authentication token must be provided as a x-auth-token header for every api request except login request.
cURL example
curl --location --request POST 'https://[EMMi instance]/papi/v1/auth/Login' \
--header 'Content-Type: application/json' \
--data-raw '{"User": "[User]", "Password": "[Password]"}'
Post your comment on this topic.