You can cancel a team member invite at any time by going to the Settings > Team Management page (or simply click here).
Locate the invite you wish to cancel in the list of team members, click the dots (...)
at the end of the line then select Cancel invite.
Now you can learn how to edit a team member role.