Change Email
Verifies client's account using the verification code sent to the client's email
Path param
authorization : *bearer
REQUEST BODY SCHEMA: application/json
Name | Description | Required | Type |
---|---|---|---|
newEmail | The new email of the user | Required | String |
oldEmail | The current email of the user | Not Required | String |
Response
Code | Description |
---|---|
200 | success message if successfully verified |
409 | Unauthorized |
Request Sample
Content type
application/json
[
{
"oldEmail": "oldemail@example.com",
"newEmail": "newemail@example.com"
}
...
]