Sign in and get an API token
POST/api/auth/sign-in/username
Sign in and get an API token
Request
- application/json
Body
required
username stringrequired
password stringrequired
Responses
- 200
- 401
Signed in. Use token as the bearer token.
- application/json
- Schema
- Example (from schema)
Schema
token stringrequired
user objectrequired
{
"token": "string",
"user": {}
}
Invalid username or password
Loading...