files/{folder_id}
Heads Up!
This page documents the Advance Access version (think "beta" but with fewer bugs) of the folders functionality.
This call deletes a folder. Only an empty folder can be deleted.
https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/files/{folder_id}
Request
Example request
DELETE /v2/files/{folder_id} HTTP/1.1
Host: api.sb.biodatacatalyst.nhlbi.nih.gov
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
Content-Type: application/json
X-SBG-advance-access: advance
curl -X DELETE -H "X-SBG-Auth-Token: c2e05946fb9a494ab5c19c72a94cb4ac" -H "x-sbg-advance-access: advance" -H "Content-Type: application/json" "http://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/files/5800cd381c94d72f08ba375b"
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your authentication token. |
Content-Type required | application/json |
X-SBG-Advance-Access required | advance |
Response
See a list of 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