Removes a task from a file.
Returns an empty response when the task was successfully deleted.
Returns an error when the task could not be found or the user does not have access to the file the task is assigned to.
An unexpected client error.
curl -X DELETE https://api.box.com/2.0/tasks/12345 \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
await client.TasksManager.DeleteTaskAsync("11111");
BoxTask task = new BoxTask(api, "id");
task.delete();
client.client.task('12345').delete()
print('The task was successfully delete!')
client.tasks.delete('11111')
.then(() => {
// deletion succeeded — no value returned
});