Change Phone Number
Verifies client's account using the verification code sent to the client's phone number
Path param
authorization : *bearer
REQUEST BODY SCHEMA: application/json
Name | Description | Required | Type |
---|---|---|---|
newPhoneNumber | The new phone of the user | Required | String |
oldPhoneNumber | The current phone of the user | Not Required | String |
Response
Code | Description |
---|---|
200 | success message if successfully verified |
409 | Unauthorized |
Request Sample
Content type
application/json
[
{
"oldPhoneNumber": "+880345643234",
"newPhoneNumber": "+2330245643234"
}
...
]