inviteToSpace
Invites someone by email to become a member of a space at a given rank, and sends them an invite email. The invite is valid for 7 days and can be accepted once with acceptInvite. Requires the admin or owner role in the space; an admin can only invite members. Each member uses an editor seat of the space's plan.
Arguments
Returns
InviteToSpaceOutput!Example
mutation InviteToSpace($email: String!, $role: SpaceRole, $spaceId: ID!) {
inviteToSpace(email: $email, role: $role, spaceId: $spaceId) {
emailSent
}
}