Remove a project member

/projects/{project_owner}/{project}/members/{username}

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 CGC, see the documentation on setting permissions.

https://cgc-api.sbgenomics.com/v2/projects/{project_owner}/{project}/members/{username}

Request

Example request

DELETE /v2/projects/rfranklin/my-project/members/jane_doe HTTP/1.1
Host: cgc-api.sbgenomics.com
X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74
curl -s -H "X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74" -H "content-type: application/json" -X DELETE "https://cgc-api.sbgenomics.com/v2/projects/RFranklin/my-project/members/Jane_Doe"

Header Fields

NameDescription
X-SBG-Auth-Token
required
Your CGC authentication token.

Path parameters

NameDescription
project_owner
required
The CGC username of the user who owns the project.
project
required
The ID of the project to access.
username
required
The CGC username of the user you are removing.

Response

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

HTTP/1.1 204 No Content
Date: Tue, 29 Mar 2016 15:47:44 GMT
Connection: close
Language