Create a learner
Adds a person to the organization and invites them to a course in one call, using one seat. If the email or externalId already belongs to an active learner in the course, nothing is created. With delivery: "none", no email is sent and the response includes a joinUrl for you to deliver.
Scopes: learners:write
tmh learners create [flags]
--course-id string The course to invite them to. Defaults to the organization's default course.
-d, --data stringArray body field as key=value (dotted keys nest, key[]=v appends, key:=<json> sends JSON), or the whole body as @file, @- for stdin, or a JSON document; repeatable. Flags override -d fields, which override the document
--delivery email email (default) sends the invite email. `none` sends nothing and returns `joinUrl` for you to deliver; one of: email, none
--email string The learner's email address. (required)
--external-id string Your own id for the learner, unique within the organization.
-h, --help help for create
--name string The learner's full name.
--seat-policy require_available require_available fails with `409` when no seat is free; one of: require_available
--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