Leave a volume

Use this call to leave a specific volume of which you're a member. 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/leave

Example request

POST /v2/storage/volumes/rfranklin/my-first-volume/members/leave HTTP/1.1
Host: cgc-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f75
curl  -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "Content-type: application/json" -X POST "https://cgc-api.sbgenomics.com/storage/volumes/rfranklin/my-first-volume/members/leave"

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.

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 was executed properly, there will be no response body for this request.
Language