createInvitation
suspend fun Organization.createInvitation(emailAddress: String, role: String): ClerkResult<OrganizationInvitation, ClerkErrorResponse>
Create an invitation for a user to join an organization. *
Parameters
emailAddress
The email address the invitation will be sent to.
role
The role that will be assigned to the user after joining. This can be one of the predefined roles "org:admin", "org:member" or a custom role.