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
{
"user": {
"username": "exercitation commodo magna labore",
"password": "fugiat in laboris"
}
}
Copied to Clipboard
{
"title": "credentials",
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
}
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="
]
}