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

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 }}