This endpoint is used to resend the verification code to a user's email address.
| Method | Endpoint |
|---|---|
| POST | /resend-verification |
| Field | Type | Description |
|---|---|---|
| String | Email of the user |
{
"email": "[email protected]"
}| Status | Message |
|---|---|
| 200 | Verification code sent |
| Status | Message |
|---|---|
| 400 | Email not found |
| 400 | Verification code already sent. Please wait x minutes before trying again. |
| Status | Message |
|---|---|
| 500 | Failed to generate user ID |
| 500 | Failed to update user record |
| 500 | An error occured sending email |