POST /auth/me/phone/change
Change the current user's phone number, requires verification of new phone number and current password
Account Management `bearerAuth` application/json
Request Body
Schema: dto.ChangePhoneRequest
| Field | Type | Required | Example | Constraints | Description |
new_phone |
string |
Yes |
|
|
New phone number (E.164 format) |
password |
string |
Yes |
|
|
Current password |
Referenced Schemas
dto.SimpleResponseWrapper
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|