Authenticate with user/password
POST/v1/auth/login
Authenticate with user/password
Request
- application/json
Body
required
user stringrequired
password stringrequired
Responses
- 201
- 400
- 401
- 433
- 500
User authenticated successfully.
- application/json
- Schema
- Example (from schema)
Schema
user objectrequired
id stringrequired
email stringrequired
name stringrequired
image stringrequired
backendTokens objectrequired
authToken stringrequired
refreshToken stringrequired
roles objectrequired
orgs objectrequired
property name* stringrequired
projs objectrequired
property name* stringrequired
{
"user": {
"id": "string",
"email": "string",
"name": "string",
"image": "string"
},
"backendTokens": {
"authToken": "string",
"refreshToken": "string"
},
"roles": {
"orgs": {},
"projs": {}
}
}
Bad Request.
Unauthorized.
User has not verified email.
Internal Server Error.
Loading...