Skip to content

Change the profile email

POST
/api/v1/profiles/change_email
curl --request POST \
--url https://core.example.com/api/v1/profiles/change_email \
--header 'Content-Type: application/json' \
--header 'session-token: <session-token>' \
--data '{ "new_email": "hello@example.com" }'
check-confirmed
boolean
skip-validate
boolean
Media typeapplication/json
object
new_email
required
string format: email
Examplegenerated
{
"new_email": "hello@example.com"
}

Change result; an email already in use is still returned with HTTP 200

Media typeapplication/json
object
success
required
boolean
status
required
integer
change_email
string
Allowed values: Email changed email_existing
Example
{
"success": true,
"status": 200,
"change_email": "Email changed"
}