OrganizationInvitation
Overview
The OrganizationInvitation
object is the model around an organization invitation.
Attributes
Name | Type | Description |
---|---|---|
id | string | A unique identifier for this organization membership. |
emailAddress | string | The email address the invitation has been sent. |
organizationId | string | The organization id of the organization this invitation is for. |
role | MembershipRole | The role of the current user in the organization. |
status | OrganizationInvitationStatus | The status of the invitation. |
createdAt | Date | Date of the time the membership was created. |
updatedAt | Date | Date of the last time the membership was updated. |
Methods
revoke()
revoke()=>Promise<OrganizationInvitationResource>
Revokes the invitation for the email it corresponds to.