bulkCreateInvitations
suspend fun Organization.bulkCreateInvitations(emailAddresses: List<String>, role: String): ClerkResult<List<OrganizationInvitation>, ClerkErrorResponse>
Bulk create an invitation for a user to join an organization.
The current user must have permissions to manage the members of the organization.
Parameters
emailAddresses
An array of email addresses the invitations will be sent to.
role
The role that will be assigned to each of the users after joining. This can be one of the predefined roles (org:admin, org:basic_member) or a custom role.