This call deletes the specified task. The task is referred to by its ID, which you can obtain by making the call to list all tasks you can access.
Note that you can only delete draft tasks, not running tasks.
DELETE /v2/tasks/e3d4bab1-b149-4e73-b75b-2ce2ada721ca HTTP/1.1 Host: cgc-api.sbgenomics.com X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74
curl -s -H "X-SBG-Auth-Token: 3210a98c1db9318fa9d9273156740f74" -H "content-type: application/json" -X DELETE "https://cgc-api.sbgenomics.com/v2/tasks/e3d4bab1-b149-4e73-b75b-2ce2ada721ca"
|Your CGC authentication token.|
HTTP/1.1 204 No Content Date: Tue, 29 Mar 2016 15:47:44 GMT Connection: close