Autional Autional
API Reference GitHub autional.com →

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

FieldTypeRequiredExampleConstraintsDescription
new_phone string Yes New phone number (E.164 format)
password string Yes Current password

Responses

StatusDescriptionSchema
200Operation successfuldto.SimpleResponseWrapper

Referenced Schemas

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No