Delete a folder

files/{folder_id}

This call deletes a folder. Only an empty folder can be deleted.

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

Request

Example request

DELETE /v2/files/{folder_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

NameDescription
X-SBG-Auth-Token
required
Your Seven Bridges Platform 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