Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 660 Bytes

resend.md

File metadata and controls

53 lines (35 loc) · 660 Bytes

Resend verification email for user

Resends the verfication email for an unverified user.

URL : /resend

Method : POST

Header :

"Content-type": "application/json"

Body :

{
    "email": "[valid email]",
}

Success Reponse

Code : 200 OK

Error Response

Condition : If user is already verified.

Code : 400 Bad Request

Body :

{
    "code": "BadRequest",
    "message": "User is already verified."
}

Condition : If user is does not exist.

Code : 400 Bad Request

Body :

{
    "code": "BadRequest",
    "message": "No user with given email"
}