Summary
Log in an create a session in IAP
Description
Log in to IAP
Route
POST //login
Roles
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
credentials |
object |
yes |
Credentials required to log in to IAP |
Copied to Clipboard
{
"credentials": {
"user": {
"username": "non adipisicing ipsum veniam",
"password": "ea labore dolore"
}
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"credentials": {
"title": "credentials",
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
}
},
"required": [
"credentials"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
string |
The session token for a logged in user |
Copied to Clipboard
"MTQ4ZmMzMGMxOTQ2MTg4N2ZjMDhiMTY0MzlkYTgwZmM="
Copied to Clipboard
{
"title": "result",
"type": "string",
"examples": [
"MTQ4ZmMzMGMxOTQ2MTg4N2ZjMDhiMTY0MzlkYTgwZmM="
]
}