Delete a volume

This call deletes a volume you've created to refer to storage on Amazon Web Services or Google Cloud Storage.

To be able to delete a volume, you first need to deactivate it and then delete all files on the Platform that were previously imported from the volume.

Learn more about using the Volumes API for Amazon S3 and for Google Cloud Storage.

https://cavatica-api.sbgenomics.com/v2/storage/volumes/{volume_id}

Request

Example request

DELETE /v2/storage/volumes/rfranklin/output HTTP/1.1
Host: cavatica-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -s -H "X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74" -H "content-type: application/json" -X DELETE "https://cavatica-api.sbgenomics.com/v2/storage/volumes/rfranklin/output"

Header Fields

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

Path parameters

KeyDescription of value
volume_idThe ID of the volume to delete.

Response

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

Language