Go to the Pending Invitations tab in your organization's Members section. Find the invitation you want to cancel and click "Cancel" or the trash icon. The invitation link will be invalidated immediately and cannot be used.
Let us know if this answered your question.