delete https://cavatica-api.sbgenomics.com/v2
/files/{file_id}
For general information on the API, including formatting, parameters, and pagination, please see the API Overview.
This call removes a file from CAVATICA. Files are specified by their IDs, which you can obtain by making the API call to list files.
https://cavatica-api.sbgenomics.com/v2/files/{file_id}
Request
Example request
DELETE /v2/files/567890abc4f3066bc3750174 HTTP/1.1
Host: cavatica-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "content-type: application/json" -X DELETE "https://cavatica-api.sbgenomics.com/v2/files/567890abc4f3066bc3750174"
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your CAVATICA authentication token. |
Path parameters
Name | Description |
---|---|
file_id | The ID of the file you want to delete. |
Query parameters
Name | Data type | Description |
---|---|---|
fields | string | Selector specifying a subset of fields to include in the response. |
Response
See a list of CAVATICA-specific response codes that may be contained in the body of the response.