Update a learner
Updates a learner’s name or externalId; parameters you don’t send are left unchanged. Send the body as application/merge-patch+json with the learner’s current ETag in If-Match.
Fields you leave out keep their current values. Clear externalId with -d externalId:=null.
Scopes: learners:write
tmh learners update <learnerId> [flags]
--course-id string The course. 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
--external-id null Your own id for the learner. Set it to null to clear it.
-h, --help help for update
--if-match string send If-Match with this ETag, for a conditional write
--name string The learner's full name.
--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