code: def task_delete(self, **kw):
          
  
          id, task = self.get_task(**kw)
  
          if task['status'] == Status.DELETED:
              raise ValueError("Task is already deleted.")
  
          self._execute(id, 'delete')
          return self.get_task(uuid=task['uuid'])[1]
docs: Marks a task as deleted.