tmh, the TeachMeHIPAA CLI

tmh members list

List all members

Synopsis

Returns a list of the organization’s members, its admins and learners. Pass role=admin to list only admins.

–all follows every page, keeping the other flags, and prints all the items as one JSON array, so | jq works; add –ndjson to print one compact item per line as each page arrives.

Scopes: members:read

tmh members list [flags]

Options

      --all                         follow every page and print all the items as one JSON array; --limit sets the page size
      --cursor nextCursor           The nextCursor from the previous page.
  -h, --help                        help for list
      --include enrollmentSubject   Opt-in, comma-separated. With enrollmentSubject, a member whose `subjectId` is null carries `enrollmentSubjectId`: the subject their email resolves to (a never-signed-in invitee), or null when none. Use it only to match the member to Enrollments; it is not an address for member routes. With `holdsInvitation`, each learner carries `holdsInvitation`: whether the organization has an invitation for their email or a Seat bound to them. Each key is omitted when its lookup failed.
      --limit int                   How many objects to return, between 1 and 1000. Defaults to 20.
      --ndjson                      with --all, print one compact JSON item per line as each page arrives
      --role string                 Only admins (paginated); one of: admin

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