Resend Verification Email
Resend Verification Email¶
- Route:
/resend/email
- Description: Resend the verification email to the user for email confirmation.
- Method:
POST
-
Request Body:
- Content:
{ "email": "user@example.com" }
- Description: Requires the user's email address in the request body to resend the verification email.
- Content:
-
Successful Response:
- Status Code:
200 OK
- Content:
{ "email": "user@example.com", "msg": "[Messages.email_sent]*" }
- Description: Indicates that the verification email was successfully sent to the provided email address.
- Status Code:
-
Bad Responses:
- Status Code:
400 Bad Request
- Content:
{ "email": ["[Messages.no_account]*"], }
-
Description: Returned when no account is associated with the provided email.
-
Status Code:
400 Bad Request
- Content:
{ "msg": ["[Messages.email_error]*"] }
- Description: Returned if there is an internal error or the email could not be sent.
- Status Code: