To do this, you need to archive the Team Members user:
To see which Team Members users you’ve archived, tap Profile Settings > Team Members, click on the three dots, and then tap Archive.
Please note, archiving a Team Members user revokes their access.