Skip to main content
POST
/
auth
/
send-change-email-code
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/auth/send-change-email-code \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "password": "<string>"
}
'
{
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required
password
string
required

Response

200 - application/json

Send change email code successfully

token
string
required
Last modified on December 10, 2025