Hello @J Hawk - Thanks for reaching out.
If you are concerned about tasks taking up disk space, then you can specify the retentionTime on the TaskContstraints. Task data is deleted by the Batch system sometime after the retention time expires.
However, the task itself is not deleted from the system (just the files on the node that executed the task). If you need to delete your tasks (or jobs), you will need to create an external process that does this.
If the above response helps, Please feel free to "Accept as Answer" so it can beneficial to the community.