Edushade Docs
Auth

U: Change Email

POST
/auth/change-email
AuthorizationBearer <token>

In: header

emailstring
Default"newemail@example.com"
Formatemail
otpstring
Default"123456"
passwordstring
Default"currentpassword123"

Response Body

curl -X POST "https://edushade.com/api/v1/auth/change-email" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "newemail@example.com",
    "otp": "123456",
    "password": "currentpassword123"
  }'
{}
Empty
Empty
Empty