{"__v":2,"_id":"567c496b7c40060d005604c5","category":{"__v":8,"_id":"5661fdcb55e4450d00e62c79","pages":["5661fdcc55e4450d00e62c80","5661fdcc55e4450d00e62c81","5661fdcc55e4450d00e62c82","5661fdcc55e4450d00e62c83","5661fdcc55e4450d00e62c84","5661fdcc55e4450d00e62c85","5661fdcc55e4450d00e62c86","5661fdcc55e4450d00e62c87","5661fdcc55e4450d00e62c88","567c46a37c40060d005604c1","567c479a8eb5b20d00210557","567c4829815f250d0094adbb","567c48a3815f250d0094adbd","567c496b7c40060d005604c5","567c4af88eb5b20d00210559","567c4cb9abbcf90d00ca50c2"],"project":"5511df3be2990b0d00fb071d","version":"5661fdca55e4450d00e62c73","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-27T12:30:20.218Z","from_sync":false,"order":1,"slug":"alerts-notifications","title":"Tasks & Results"},"parentDoc":null,"project":"5511df3be2990b0d00fb071d","user":"5511dee39171e82b00897349","version":{"__v":2,"_id":"5661fdca55e4450d00e62c73","project":"5511df3be2990b0d00fb071d","createdAt":"2015-12-04T20:55:38.639Z","releaseDate":"2015-12-04T20:55:38.639Z","categories":["5661fdcb55e4450d00e62c74","5661fdcb55e4450d00e62c75","5661fdcb55e4450d00e62c76","5661fdcb55e4450d00e62c77","5661fdcb55e4450d00e62c78","5661fdcb55e4450d00e62c79","567c42b13241c20d00b7312e"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-24T19:37:15.704Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl https://api.astrodigital.com/v2.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},{"name":"","code":"{\"detail\":\"The task_id provided was not found.\"}","language":"json","status":400}]},"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 delete any associated Results\",\n  \"body\": \"Be careful that you do not need any of the Results associated with your Task before you delete it, once it's gone, they will be unavailable. You can recreate that same Task in the future to receive the same Results if needed.\"\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 delete any associated Results", "body": "Be careful that you do not need any of the Results associated with your Task before you delete it, once it's gone, they will be unavailable. You can recreate that same Task in the future to receive the same Results if needed." } [/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 }}