auth0 users import
Import users from schema. Issues a Create Import Users Job. The file size limit for a bulk import is 500KB. You will need to start multiple imports if your data exceeds this size.
Usage
auth0 users import [flags]
Examples
auth0 users import
auth0 users import --connection "Username-Password-Authentication"
auth0 users import -c "Username-Password-Authentication" --template "Basic Example"
auth0 users import -c "Username-Password-Authentication" -t "Basic Example" --upsert true
auth0 users import -c "Username-Password-Authentication" -t "Basic Example" --upsert true --email-results false
Flags
-c, --connection string Name of the database connection this user should be created in.
-r, --email-results When true, sends a completion email to all tenant owners when the job is finished. The default is true, so you must explicitly set this parameter to false if you do not want emails sent. (default true)
-t, --template string Name of JSON example to be used.
-u, --upsert When set to false, pre-existing users that match on email address, user ID, or username will fail. When set to true, pre-existing users that match on any of these fields will be updated, but only with upsertable attributes.
Inherited Flags
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 users blocks - Manage brute-force protection user blocks
- auth0 users create - Create a new user
- auth0 users delete - Delete a user
- auth0 users import - Import users from schema
- auth0 users open - Open the user’s settings page
- auth0 users roles - Manage a user’s roles
- auth0 users search - Search for users
- auth0 users show - Show an existing user
- auth0 users update - Update a user