all content, endpoints, and code provided by this API are licensed under the GNU Affero General Public License v3 (AGPL-3.0).
By accessing or using this API, you agree to comply with the terms of the AGPLv3.
For more details, please read the full license at GNU AGPLv3.
{
"username": "admin",
"password": "my password",
"otp_code": "123456"
}curl --location --request POST '/api/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "admin",
"password": "my password",
"otp_code": "123456"
}'{
"code": 200,
"message": "success",
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}