POST
/
user
/
deanonymize
curl --request POST \
  --url https://local.auth.nhost.run/v1/user/deanonymize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connection": "email",
  "email": "john.smith@nhost.io",
  "options": {
    "allowedRoles": [
      "me",
      "user"
    ],
    "defaultRole": "user",
    "displayName": "John Smith",
    "locale": "en",
    "metadata": {
      "firstName": "John",
      "lastName": "Smith"
    },
    "redirectTo": "https://my-app.com/catch-redirection"
  },
  "password": "Str0ngPassw#ord-94|%",
  "signInMethod": "email-password"
}'
"<string>"

Authorizations

Authorization
string
header
required

JSON Web Token to authorize requests.

Body

application/json

The body is of type object.

Response

200
application/json

Success

The response is of type string.