Import learners from CSV
Invites everyone in a CSV file with an email column (and optional name and courseId). Send validateOnly: true first to preview the file without inviting anyone. Up to 500 rows. Requires the enrollments:write scope.
Scopes: enrollments:write
tmh enrollments preview-import [flags]
--file string path of the file to upload as file, or - for stdin
-h, --help help for preview-import
--options.course-id string The course to invite everyone to. Defaults to the organization's default course.
--idempotency-key string Idempotency-Key for the write, instead of a generated one
--live use the "live" profile
--max-retries int times to retry a transient failure of a request that is safe to replay (default 2)
--profile string profile to use: "sandbox" (default) or "live"
--show-headers print each HTTP response's status and headers to stderr
--verbose print method, path, status, latency and request id of each HTTP attempt to stderr