This call removes a project member from a project. It can only be successfully run by a user who has admin privileges in the project.
For more information on permissions on the Seven Bridges Platform, see the documentation on setting permissions.
DELETE /v2/projects/rfranklin/my-project/members/jane_doe HTTP/1.1 Host: api.sbgenomics.com X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "content-type: application/json" -X DELETE "https://api.sbgenomics.com/v2/projects/RFranklin/my-project/members/Jane_Doe"
from sevenbridges import Api api = Api(url='https://api.sbgenomics.com/v2', token='3259c50e1ac5426ea8f1273259740f74') project = api.projects.get(id='rfranklin/my-project') # send DELETE request to SB API project.remove_member(user='jane_doe')
Your Seven Bridges Platform authentication token.
The Seven Bridges Platform username of the user who owns the project.
The ID of the project to access.
The Seven Bridges Platform username of the user you are removing.