Remove members from a volume

This call removes members from a specific volume. The volume is specified as volume_id and consists of the owner and name of a volume (for example rfranklin/my-first-volume).

Request

https://cgc-api.sbgenomics.com/v2/storage/volumes/{volume_id}/members/{username}

Example request

DELETE /v2/storage/volumes/rfranklin/my-first-volume/members/{username} 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/storage/volumes/rfranklin/my-first-volume/members/{username}"

Header Fields

KeyDescription of value
X-SBG-Auth-Token
required
Your CGC authentication token.
Content-type
required
application/json

Path parameters

KeyData type of valueDescription of value
volume_id
required
StringThe volume that you want to query, which consists of username of the volume owner and volume name, for example rfranklin/my-first-volume.
usernameStringEnter the username of the project member you'd like to remove from a volume.

Response

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

Example response body

If the request executed properly, there will be no response body for this request.

Language