labbench members | All commands

labbench members invite-batch

Invite several people at once and print their invite links (managers only)

Invite several people at once (managers only). Pass a JSON array of {"email","role"} objects, role manager or member, as --rows or in --file (- reads stdin). Every row is invited or none is, and a refusal names the row. Each invitee sets their own PIN when they accept. Needs a signed-in session; an API token is refused with token_write_not_allowed.

Usage

labbench members invite-batch [flags]

Example

labbench members invite-batch

Flags

FlagTypeDefaultDescription
--filestringJSON file of rows, or - for stdin
--rowsstringthe rows as a JSON array

Every command also accepts the global flags.