tmh, the TeachMeHIPAA CLI

tmh enrollments batch

Update many enrollments

Synopsis

Reminds, resends, cancels, renews, archives or unarchives up to 500 enrollments in one request, chosen by id or by filter. Each enrollment succeeds or fails on its own. Requires the enrollments:write scope.

Scopes: enrollments:write

tmh enrollments batch [flags]

Options

  -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
  -h, --help                            help for batch
      --operation remind                What to do to each enrollment: remind, `resendInvite`, `cancel`, `recertify`, `archive` or `unarchive`; one of: remind, resendInvite, cancel, recertify, archive, unarchive (required)
      --select.enrollment-ids strings   Enrollment ids (required)

Options inherited from parent commands

      --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

SEE ALSO