How to Bulk Verify Users

Problem statement:

Bulk update users as verified with Auth0 Import/Export Extension and Management API.

Solution/Steps:

  1. Bulk export user details in JSON format using this extension: User Import / Export Extension

  1. Make changes to the export file by updating “user-verified” = “true”.

This is the format of the import file:

[

{"email":"test@test.com","email_verified":true},

{"email":"test2@test.com","email_verified":true},

]
  1. Import the updated file by calling the /api/v2/jobs/users-imports endpoint in the Auth0 Management API dashboard with upsert set to true to bulk update users.
  1. Verify the job is successful and the number of records are updated with the /api/v2/jobs/{id} endpoint:
  1. Check on the Auth0 Dashboard user details to confirm the change.
1 Like