This call removes a member from a team. By removing a member, you remove the user's membership to the team, but do not remove their account from the division.
DELETE /v2/teams/232c475c-a3a0-4127-92b5-f545829ec213/john_smith HTTP/1.1 Host: api.sbgenomics.com X-SBG-Auth-Token: 8a6b42ec064246c9b52ddd68e907197a
curl -X DELETE \ https://api.sbgenomics.com/v2/teams/232c475c-a3a0-4127-92b5-f545829ec213/john_smith \ -H 'cache-control: no-cache' \ -H 'content-type: application/json' \ -H 'x-sbg-advance-access: advance' \ -H 'x-sbg-auth-token: 8a6b42ec064246c9b52ddd68e907197a'
from sevenbridges import Api api = Api(url='https://api.sbgenomics.com/v2', token='3259c50e1ac5426ea8f1273259740f74') team = api.teams.get(id='232c475c-a3a0-4127-92b5-f545829ec213') # send DELETE request to SB API team.remove_member(user='john_smith')
Your Seven Bridges Platform authentication token.
The ID of the team you are removing the member from.
The username of the member you want to remove from a team.