Invite member
Invites a person to the workspace by email, with the role they will hold.
opensend members invite [flags]Flags
--emailstringRequiredThe address to invite.
--namestringThe name of the person, shown until they sign in.
--rolestringWhat they may do:
admin,memberorviewer. Without it they join as a member.One of
adminmemberviewer
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"member"Always
member.idstringThe id of the member.
namestringThe name of the person.
emailstringThe address of the person.
rolestringWhat the member may do:
owner,admin,memberorviewer.One of
owneradminmemberviewerstatusstringinviteduntil the person signs in,activeafter that.One of
activeinvitedinvitedBystringThe name of who invited them.
invitedAtstring | nullWhen the invitation was sent, or
nullfor the person who made the workspace.lastActiveAtstring | nullWhen the member last used the workspace, or
null.invitationUrlstring | nullA link that lets an invited person choose a password and join without an emailed code, or
null. Only the owner of a server a team hosts itself is given it, signed in, while the invitation is waiting.createdAtstringWhen the member was added.