Login
POST
/auth/loginLogin a valid registered user
Request
Body Params application/json
email
string <email>
email
The email address of the user that needs to be logged in
Examples:
johndoe@example.comjohn@gamil.com
password
string <password>
password
The password of the user
Examples:
John@123JohnDoe@134
Match pattern:
/^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*(),.?":{}|<>])[A-Za-z\d!@#$%^&*(),.?":{}|<>]{8,}$/gm
Example
{
"email": "johndoe@example.com",
"password": "John@123"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 2 months ago