Auth0 Node.js SDK - v5.0.0
    Preparing search index...

    Interface CreateUserRequestContent

    {
    * connection: "connection"
    * }
    interface CreateUserRequestContent {
        email?: string;
        phone_number?: string;
        user_metadata?: UserMetadata;
        blocked?: boolean;
        email_verified?: boolean;
        phone_verified?: boolean;
        app_metadata?: AppMetadata;
        given_name?: string;
        family_name?: string;
        name?: string;
        nickname?: string;
        picture?: string;
        user_id?: string;
        connection: string;
        password?: string;
        verify_email?: boolean;
        username?: string;
    }
    Index

    Properties

    email?: string

    The user's email.

    phone_number?: string

    The user's phone number (following the E.164 recommendation).

    user_metadata?: UserMetadata
    blocked?: boolean

    Whether this user was blocked by an administrator (true) or not (false).

    email_verified?: boolean

    Whether this email address is verified (true) or unverified (false). User will receive a verification email after creation if email_verified is false or not specified

    phone_verified?: boolean

    Whether this phone number has been verified (true) or not (false).

    app_metadata?: AppMetadata
    given_name?: string

    The user's given name(s).

    family_name?: string

    The user's family name(s).

    name?: string

    The user's full name.

    nickname?: string

    The user's nickname.

    picture?: string

    A URI pointing to the user's picture.

    user_id?: string

    The external user's id provided by the identity provider.

    connection: string

    Name of the connection this user should be created in.

    password?: string

    Initial password for this user. Only valid for auth0 connection strategy.

    verify_email?: boolean

    Whether the user will receive a verification email after creation (true) or no email (false). Overrides behavior of email_verified parameter.

    username?: string

    The user's username. Only valid if the connection requires a username.