Skip to main content Link Menu Expand (external link) Document Search Copy Copied

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.