Learn how to delete tasks in Chunkr AI
Chunkr AI provides methods to delete tasks when they’re no longer needed. Any task that has status Succeeded
or Failed
can be deleted.
You can delete tasks either by their ID or using a task object.
Use the delete_task()
method when you have the task ID:
If you have a task object, you can delete it directly using the delete()
method:
For async applications, remember to use await
: