docs/classes/management.SDK.UsersImportsClient.html
new UsersImportsClient(options: BaseClientOptions): UsersImportsClient
create(
request: CreateImportUsersRequestContent,
requestOptions?: UsersImportsClient.RequestOptions,
): HttpResponsePromise<CreateImportUsersResponseContent>
Import users from a formatted file into a connection via a long-running job. When importing users, with or without upsert, the email_verified is set to false when the email address is added or updated. Users must verify their email address. To avoid this behavior, set email_verified to true in the imported data.
OptionalrequestOptions: UsersImportsClient.RequestOptionsRequest-specific configuration.
Management.ContentTooLargeError
Management.TooManyRequestsError
Management.InternalServerError
import { createReadStream } from "fs"; await client.jobs.usersImports.create({ users: fs.createReadStream("/path/to/your/file"), connection_id: "connection_id" })Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods create Properties _options