{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/tasks/:id","auth":"required","examples":{"codes":[{"language":"text","code":"curl https://api.astrodigital.com/v3.0/tasks/1 -H 'Authorization: Token YOUR_TOKEN' -X DELETE"}]},"method":"delete","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{\"detail\":\"Task is deleted\"}","name":""},{"language":"json","code":"{\"detail\":\"The task_id provided was not found.\"}","name":"","status":400}]},"settings":"56a8d993c0e02f0d007fa916"},"next":{"description":"","pages":[]},"title":"/tasks/:id","type":"endpoint","slug":"tasksid-2","excerpt":"","body":"Deletes a Task and removes any associated Results.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Deleting a Task will NOT delete any associated Results\",\n  \"body\": \"\"\n}\n[/block]","updates":[],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5c660b7a77adf5002790ccae","category":{"sync":{"isSync":false,"url":""},"pages":["5c660b7a77adf5002790cca7","5661fdcc55e4450d00e62c81","5661fdcc55e4450d00e62c82","5661fdcc55e4450d00e62c83","5661fdcc55e4450d00e62c84","5661fdcc55e4450d00e62c85","5661fdcc55e4450d00e62c86","5661fdcc55e4450d00e62c87","5661fdcc55e4450d00e62c88","5c660b7a77adf5002790ccab","5c660b7a77adf5002790ccac","5c660b7a77adf5002790ccad","567c48a3815f250d0094adbd","5c660b7a77adf5002790ccae","5c660b7a77adf5002790ccaf","5c660b7a77adf5002790ccb2"],"title":"Tasks & Results","slug":"alerts-notifications","order":1,"from_sync":false,"reference":false,"_id":"5c660b7a77adf5002790cca0","version":"5c660b7a77adf5002790ccc3","__v":8,"project":"5511df3be2990b0d00fb071d","createdAt":"2015-08-27T12:30:20.218Z"},"createdAt":"2015-12-24T19:37:15.704Z","user":"5511dee39171e82b00897349","project":"5511df3be2990b0d00fb071d","githubsync":"","parentDoc":null,"version":{"version":"3.0","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["5c660b7a77adf5002790cc9c","5c660b7a77adf5002790cc9d","5c660b7a77adf5002790cc9e","5661fdcb55e4450d00e62c77","5c660b7a77adf5002790cc9f","5c660b7a77adf5002790cca0","5c660b7a77adf5002790cca1"],"_id":"5c660b7a77adf5002790ccc3","project":"5511df3be2990b0d00fb071d","__v":0,"forked_from":"5661fdca55e4450d00e62c73","createdAt":"2015-12-04T20:55:38.639Z","releaseDate":"2015-12-04T20:55:38.639Z"},"__v":3}

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

Deletes a Task and removes any associated Results. [block:callout] { "type": "warning", "title": "Deleting a Task will NOT delete any associated Results", "body": "" } [/block]

User Information

Try It Out

delete
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}