Autional Autional
API Reference GitHub autional.com →

POST /auth/me/email/change

Change the current user's email address, requires verification of current password, new email, and sending verification code

Account Management `bearerAuth` application/json

Request Body

Schema: dto.ChangeEmailRequest

FieldTypeRequiredExampleConstraintsDescription
new_email string Yes New email
password string Yes Current password

Responses

StatusDescriptionSchema
200Operation successfuldto.SimpleResponseWrapper

Referenced Schemas

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No