inviteByEmail method

Future<void> inviteByEmail({
  1. required CheckAccessOrInviteByEmailRequest body,
})

Invite a list of emails to the site.

Ignores all invalid emails and no action is taken for the emails that already have access to the site.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

Implementation

Future<void> inviteByEmail(
    {required CheckAccessOrInviteByEmailRequest body}) async {
  await _client.send(
    'post',
    'user/access/invite-by-email',
    body: body.toJson(),
  );
}