Delete a team

teams/{team_id}

This call deletes a team. By deleting a team, you remove the users' membership to the team, but do not remove their accounts from the division.

Request

https://api.sbgenomics.com/v2/teams/{team_id}
https://eu-api.sbgenomics.com/v2/teams/{team_id}

Example request

DELETE /v2/teams/232c475c-a3a0-4127-92b5-f545829ec213 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 \
  -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.delete()

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your Seven Bridges Platform authentication token.

Content-Type
required

application/json

Response

See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response..