Delete a file

files/{file_id}

This call deletes a file.

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

Request

Example request

DELETE /v2/files/{file_id} HTTP/1.1
Host: cavatica-api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
Content-Type: application/json
curl -X DELETE -H "X-SBG-Auth-Token: c2e05946fb9a494ab5c19c72a94cb4ac" -H "Content-Type: application/json" "http://cavatica-api.sbgenomics.com/v2/files/567890abc9b0307bc0414164"

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your CAVATICA authentication token.

Content-Type
required

application/json

Response

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

Language
Click Try It! to start a request and see the response here!