Delete a file

/files/{file_id}

This call removes a file from the Platform. Files are specified by their IDs, which you can obtain by making the API call to list files.

https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/files/{file_id}

Request

Example request

DELETE /v2/files/565357a1e4b09c884b29334a HTTP/1.1
Host: api.sb.biodatacatalyst.nhlbi.nih.gov
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl  -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "content-type: application/json" -X DELETE "https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/files/567890abc8a5639cc6722063"

Header Fields

NameDescription
X-SBG-Auth-Token
required
Your Platform authentication token.

Path parameters

NameDescription
file_idThe ID of the file you want to delete.

Response

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

HTTP/1.1 204 No Content
Date: Tue, 29 Mar 2016 15:47:44 GMT
Connection: close