Delete a file

files/{file_id}

This call deletes a file.

https://cgc-api.sbgenomics.com/v2/files/{file_id}

Request

Example request

DELETE /v2/files/{file_id} HTTP/1.1
Host: cgc-api.sbgenomics.com
X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74
Content-Type: application/json
curl -X DELETE -H "X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74" -H "Content-Type: application/json" -H "http://cgc-api.sbgenomics.com/v2/files/568e69abe9b0307bc0414164"

Header Fields

NameDescription
X-SBG-Auth-Token
required
Your CGC authentication token.
Content-Type
required
application/json

Response

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

Language