Delete a folder

files/{folder_id}

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

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

Request

Example request

DELETE /v2/files/{folder_id} HTTP/1.1
Host: cgc-api.sbgenomics.com
X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74
Content-Type: application/json
curl -X DELETE -H "X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74" -H "Content-Type: application/json" "http://cgc-api.sbgenomics.com/v2/files/5801cd381c94d72f08ba375b"

Header Fields

NameDescription
X-SBG-Auth-Token
required
Your CGC authentication token.
Content-Type
required
application/json

Response

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

Language