Skip to main content
POST
/
api
/
auth
/
email
/
change
Request Email Change
curl --request POST \
  --url https://api.example.com/api/auth/email/change \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com"
}
'
{
  "message": "<string>",
  "status": "ok"
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Cookies

antidote_session
string | null

Body

application/json
email
string<email>
required

Response

Successful Response

message
string
required
status
string
default:ok