POST
/
user
/
email
/
change
curl --request POST \
  --url https://local.auth.nhost.run/v1/user/email/change \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "newEmail": "john.smith@nhost.io",
  "options": {
    "redirectTo": "https://my-app.com/catch-redirection"
  }
}'
"<string>"

Authorizations

Authorization
string
headerrequired

JSON Web Token to authorize requests.

Body

application/json
newEmail
string

A valid email

options
object

Response

200 - application/json

The response is of type string.