Login with username and password
POST/api/v1/login
x-public: "true"
Login with username and password
Request
- application/json; charset=UTF-8
Body
required
username stringrequired
username of the user
password stringrequired
password of the user
Responses
- 200
- 400
- 401
- 429
Login Successful
- application/json
- Schema
- Example (from schema)
Schema
token string
msspId string
message string
{
"token": "string",
"msspId": "string",
"message": "string"
}
Bad request. One of the required arguments is missing or fails a constraint
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Authentication error
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
token string
msspId string
message string
{
"token": "string",
"msspId": "string",
"message": "string"
}
Loading...