Unable to update email_verified

Hi

I’m using a custom database and updating user fails with error:

400: change_email script does not exist
  1. I’m not trying to update email so I’m not sure why this would fail.
  2. What is change email script and where can I set it? There’s no such script in custom database “Database Action Scripts” tab.

Thanks

1 Like

Hello!

The issue in here is that, change_email is a required script to update email address or its verification status. Here is documentation about the change_email script.

This is not possible to be performed via the Dashboard.

To update the change_email script, you can do it via our Management API or the Auth0 Deploy CLI tool.

Note that if you change any aspect of a connection via the Dashboard in Auth0, and that connection makes use of a Change Email script, then the script will be deleted.

Thank you!

1 Like

Any update on this. It’s been 3 years and it hasn’t been implemented on the dashboard.
The first documentation link is broken.

The management API docs for PATCH /api/v2/connections/{id} shows that change_email is not an options for customScripts.