pio team remove ORGNAME:TEAMNAME USERNAME
Remove a member from a team.
If you need to destroy an existing team, please use pio team destroy command.
Remove Bob from the “dev” team of “platformio” organization:
> pio team remove platformio:dev bob
The "bob" member has been successfully removed from the "dev" team.