ChangePhoneNumber initiates phone number change.
POST/api/v1/auth/me/phone
Sends OTP to the new phone number for verification. Requires current password for security.
Flow
- Call this endpoint with new phone and current password
- OTP is sent to the new phone number
- Call VerifyPhoneNumberChange with the OTP code
Errors
- INVALID_ARGUMENT: Invalid phone number format
- UNAUTHENTICATED: Invalid password
Request
Responses
- 200
- default
A successful response.
An unexpected error response.