Skip to main content
PATCH
/
users
/
me
/
email
Update user email
curl --request PATCH \
  --url https://{host}/users/me/email \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-user-id: <x-user-id>' \
  --data '
{
  "email": "new.email@example.com"
}
'

Authorizations

Authorization
string
header
required

Auth0-issued access token that includes the scopes listed for the endpoint.

Headers

x-user-id
string
required

MongoDB ObjectId of the authenticated user

Pattern: ^[a-f0-9]{24}$

Body

application/json
email
string<email>
required

New email address. Must be unique across the platform.

Example:

"new.email@example.com"

Response

Email updated successfully