Auth
Login
Changed onAuthenticates a user and creates a new access token.
post/v1/auth/login
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/v1/auth/login
- Auth: none declared
Request body
Example request
{
"email": "user@example.com",
"password": "secretpassword123"
}Response
Login successful
Example response
{
"token": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}Changes
- info
added the non-success response with the status
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info