Login
Login to the system.
Request
URI
POST
https://{api_host}/login
COPY
Request Body
The credential to submit.
credential
of type(s)
application/json
Required
{
"password": "string",
"username": "string"
}
string
password
Required
The password of the vio api user.
string
username
Required
The user name of vio api user.
Responses
200
token
Returns
token
of type(s)
application/json
"token Object"
string
token
Required
The jwt token after successful authentication.
401
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"username:"string","password:"string"}' https://{api_host}/login
Login Operations
POST
Login