Yes, you can cancel a sent invitation at any time.
Go to the “Pending Invitations” section in your account settings. Open the three-dot menu next to the relevant invitation and select “Delete.” This will immediately cancel the invitation and revoke access to the invitation link.
